Home
last modified time | relevance | path

Searched defs:smartNull (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsSmartNullsTest.java42 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "get")); in should_return_an_object_that_fails_on_any_method_invocation_for_non_primitives() local
54 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "get")); in should_return_an_object_that_allows_object_methods() local
65 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "withArgs", "oompa", "lumpa")); in should_print_the_parameters_when_calling_a_method_with_args() local
77 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "withArgs", "oompa", "lumpa")); in should_print_the_parameters_on_SmartNullPointerException_message() local
/external/mockito/src/test/java/org/mockitousage/stubbing/
DSmartNullsStubbingTest.java98 Object smartNull = mock.objectReturningMethod(); in shouldNotThrowSmartNullPointerOnToString() local
107 Object smartNull = mock.objectReturningMethod(); in shouldNotThrowSmartNullPointerOnObjectMethods() local
114 Bar smartNull = foo.getBarWithParams(10, "yes sir"); in shouldShowParameters() local
128 Bar smartNull = foo.getBarWithParams(10, longStr); in shouldShowParametersWhenParamsAreHuge() local
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksCreationTest.java49 IMethods smartNull = mock.iMethodsReturningMethod(); in should_combine_mock_name_and_smart_nulls() local