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.java62 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "get")); in should_return_an_object_that_fails_on_any_method_invocation_for_non_primitives() local
75 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "get")); in should_return_an_object_that_allows_object_methods() local
84 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "withArgs", "oompa", "lumpa")); in should_print_the_parameters_when_calling_a_method_with_args() local
97 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "withArgs", "oompa", "lumpa")); in should_print_the_parameters_on_SmartNullPointerException_message() local
124 Foo smartNull = (Foo) answer.answer(invocationOf(GenericFooBar.class, "get")); in should_return_an_object_that_has_been_defined_with_class_generic() local
137 String smartNull = (String) answer.answer(invocationOf(GenericFooBar.class, "method")); in should_return_an_object_that_has_been_defined_with_method_generic() local
161 Object smartNull = answer.answer(invocationMethodWithArgs("secondArg")); in should_return_a_String_that_has_been_defined_with_method_generic_and_provided_in_argument() local
174 Object smartNull = answer.answer(invocationMethodWithArgs(list)); in should_return_a_empty_list_that_has_been_defined_with_method_generic_and_provided_in_argument() local
190 Object smartNull = answer.answer(invocationMethodWithArgs(map)); in should_return_a_empty_map_that_has_been_defined_with_method_generic_and_provided_in_argument() local
203 Object smartNull = in should_return_a_empty_set_that_has_been_defined_with_method_generic_and_provided_in_argument() local
[all …]
/external/mockito/src/test/java/org/mockitousage/stubbing/
DSmartNullsStubbingTest.java111 Object smartNull = mock.objectReturningMethod(); in shouldNotThrowSmartNullPointerOnToString() local
121 Object smartNull = mock.objectReturningMethod(); in shouldNotThrowSmartNullPointerOnObjectMethods() local
128 Bar smartNull = foo.getBarWithParams(10, "yes sir"); in shouldShowParameters() local
143 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