Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationForAnnotationTest.java37 @Mock(serializable=true) IMethods imethodsMock; field in MocksSerializationForAnnotationTest
55 serializeAndBack(imethodsMock); in should_allow_mock_to_be_serializable()
61 when(imethodsMock.booleanReturningMethod()).thenReturn(true); in should_allow_mock_and_boolean_value_to_serializable()
64 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_allow_mock_and_boolean_value_to_serializable()
75 when(imethodsMock.stringReturningMethod()).thenReturn(value); in should_allow_mock_and_string_value_to_be_serializable()
78 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_allow_mock_and_string_value_to_be_serializable()
89 when(imethodsMock.objectReturningMethodNoArgs()).thenReturn(value); in should_all_mock_and_serializable_value_to_be_serialized()
92 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_all_mock_and_serializable_value_to_be_serialized()
102 when(imethodsMock.objectArgMethod(value)).thenReturn(value); in should_serialize_method_call_with_parameters_that_are_serializable()
105 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_serialize_method_call_with_parameters_that_are_serializable()
[all …]