Searched refs:emailService (Results 1 – 1 of 1) sorted by relevance
58 EmailService emailService = mock(EmailService.class); field in CapturingArgumentsTest59 BulkEmailService bulkEmailService = new BulkEmailService(emailService);72 verify(emailService).sendEmailTo(argument.capture()); in should_allow_assertions_on_captured_argument()85 verify(emailService, times(2)).sendEmailTo(argument.capture()); in should_allow_assertions_on_all_captured_arguments()99 verify(emailService, times(3)).sendEmailTo(argument.capture()); in should_allow_assertions_on_last_argument()110 verify(emailService).sendEmailTo(person.capture()); in should_print_captor_matcher()124 emailService.sendEmailTo(null); in should_allow_assertions_on_captured_null()127 verify(emailService).sendEmailTo(argument.capture()); in should_allow_assertions_on_captured_null()150 when(emailService.sendEmailTo(argument.capture())).thenReturn(false); in should_allow_capturing_for_stubbing()153 emailService.sendEmailTo(new Person(10)); in should_allow_capturing_for_stubbing()