PendingFormSubmissionService { public long pendingFormSubmissionCount() { return formDataRepository.getPendingFormSubmissionsCount(); } PendingFormSubmissionService(FormDataRepository formDataRepository); long pendingFormSubmissionCount();  }
@Test public void shouldFetchPendingFormSubmissionCount() { pendingFormSubmissionService.pendingFormSubmissionCount(); verify(repository).getPendingFormSubmissionsCount(); }