Home
last modified time | relevance | path

Searched refs:WantedButNotInvoked (Results 1 – 23 of 23) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/verification/
DDescriptiveMessagesWhenVerificationFailsTest.java15 import org.mockito.exceptions.verification.WantedButNotInvoked;
39 } catch (WantedButNotInvoked e) { in should_print_method_name()
62 } catch (WantedButNotInvoked e) { in should_print_method_name_and_arguments()
218 } catch (WantedButNotInvoked e) { in should_print_method_name_when_verifying_at_least_once()
228 } catch (WantedButNotInvoked e) { in should_print_method_when_matcher_used()
348 } catch (WantedButNotInvoked e) { in should_print_interactions_on_mock_when_ordinary_verification_fail()
360 } catch(WantedButNotInvoked e) { in should_never_break_method_string_when_no_args_in_method()
373 } catch (WantedButNotInvoked e) { in should_print_method_name_and_arguments_of_other_interactions_with_different_methods()
390 } catch (WantedButNotInvoked e) { in should_print_method_name_and_arguments_of_other_interactions_of_same_method()
DOrdinaryVerificationPrintsAllInteractionsTest.java10 import org.mockito.exceptions.verification.WantedButNotInvoked;
34 } catch (WantedButNotInvoked e) { in shouldShowAllInteractionsOnMockWhenOrdinaryVerificationFail()
51 } catch (WantedButNotInvoked e) { in shouldNotShowAllInteractionsOnDifferentMock()
61 } catch (WantedButNotInvoked e) { in shouldNotShowAllInteractionsHeaderWhenNoOtherInteractions()
DBasicVerificationTest.java13 import org.mockito.exceptions.verification.WantedButNotInvoked;
40 @Test(expected=WantedButNotInvoked.class)
72 } catch (WantedButNotInvoked e) {} in shouldFailOnWrongMethod()
122 } catch(WantedButNotInvoked e) {} in shouldDetectWhenOverloadedMethodCalled()
DOnlyVerificationTest.java11 import org.mockito.exceptions.verification.WantedButNotInvoked;
45 } catch (WantedButNotInvoked e) {} in shouldFailIfMethodWasNotInvoked()
65 } catch (WantedButNotInvoked e) {} in shouldFailIfMethodWasInvokedButWithDifferentArguments()
DVerificationUsingMatchersTest.java12 import org.mockito.exceptions.verification.WantedButNotInvoked;
62 } catch (WantedButNotInvoked e) { in shouldVerifyUsingSameMatcher()
DVerificationInOrderTest.java12 import org.mockito.exceptions.verification.WantedButNotInvoked;
62 } catch (WantedButNotInvoked e) { in shouldMessagesPointToProperMethod()
DDescriptiveMessagesOnVerificationInOrderErrorsTest.java13 import org.mockito.exceptions.verification.WantedButNotInvoked;
81 } catch (WantedButNotInvoked e) { in shouldPrintVerificationInOrderErrorAndShowWantedOnly()
DRelaxedVerificationInOrderTest.java14 import org.mockito.exceptions.verification.WantedButNotInvoked;
185 @Test(expected=WantedButNotInvoked.class)
DBasicVerificationInOrderTest.java14 import org.mockito.exceptions.verification.WantedButNotInvoked;
165 @Test(expected = WantedButNotInvoked.class)
DExactNumberOfTimesVerificationTest.java68 } catch (WantedButNotInvoked e) {} in shouldDetectActualInvocationsCountIsMoreThanZero()
/external/mockito/src/main/java/org/mockito/exceptions/verification/
DWantedButNotInvoked.java12 public class WantedButNotInvoked extends MockitoAssertionError { class
16 public WantedButNotInvoked(String message) { in WantedButNotInvoked() method in WantedButNotInvoked
/external/mockito/src/test/java/org/mockitousage/puzzlers/
DOverloadingPuzzleTest.java8 import org.mockito.exceptions.verification.WantedButNotInvoked;
43 } catch (WantedButNotInvoked e) {} in shouldUseArgumentTypeWhenOverloadingPuzzleDetected()
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DMissingInvocationCheckerTest.java15 import org.mockito.exceptions.verification.WantedButNotInvoked;
47 exception.expect(WantedButNotInvoked.class); in shouldReportWantedButNotInvoked()
DMissingInvocationInOrderCheckerTest.java14 import org.mockito.exceptions.verification.WantedButNotInvoked;
64 exception.expect(WantedButNotInvoked.class); in shouldReportWantedButNotInvoked()
/external/mockito/src/test/java/org/mockitousage/matchers/
DVerificationAndStubbingUsingMatchersTest.java10 import org.mockito.exceptions.verification.WantedButNotInvoked;
78 } catch (WantedButNotInvoked e) {} in shouldVerifyUsingMatchers()
DCapturingArgumentsTest.java12 import org.mockito.exceptions.verification.WantedButNotInvoked;
112 } catch(WantedButNotInvoked e) { in should_print_captor_matcher()
DMatchersTest.java16 import org.mockito.exceptions.verification.WantedButNotInvoked;
322 } catch (WantedButNotInvoked e) { in should_array_equals_deal_with_null_array()
570 } catch (WantedButNotInvoked e) { in delta_matcher_prints_itself()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DSmartNullsStubbingTest.java12 import org.mockito.exceptions.verification.WantedButNotInvoked;
102 } catch (WantedButNotInvoked e) {} in shouldNotThrowSmartNullPointerOnToString()
DStubbingWithThrowablesTest.java34 import org.mockito.exceptions.verification.WantedButNotInvoked;
367 } catch (WantedButNotInvoked e) { in shouldStubbingWithThrowableFailVerification()
373 } catch (WantedButNotInvoked e) { in shouldStubbingWithThrowableFailVerification()
/external/mockito/src/test/java/org/mockitousage/stacktrace/
DStackTraceFilteringTest.java17 import org.mockito.exceptions.verification.WantedButNotInvoked;
48 } catch (WantedButNotInvoked e) { in shouldFilterStackTraceOnVerify()
/external/mockito/src/test/java/org/mockitousage/customization/
DBDDMockitoTest.java14 import org.mockito.exceptions.verification.WantedButNotInvoked;
253 @Test(expected = WantedButNotInvoked.class)
320 @Test(expected = WantedButNotInvoked.class)
/external/mockito/src/test/java/org/mockito/
DStaticMockingExperimentTest.java10 import org.mockito.exceptions.verification.WantedButNotInvoked;
205 } catch (WantedButNotInvoked e) { in verifying_new()
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java18 import org.mockito.exceptions.verification.WantedButNotInvoked;
317 return new WantedButNotInvoked(createWantedButNotInvokedMessage(wanted)); in wantedButNotInvoked()
337 return new WantedButNotInvoked(message + allInvocations); in wantedButNotInvoked()