// when
ByteArrayOutputStream serialized = serializeMock(imethodsMock);
// then
IMethods readObject = deserializeMock(serialized, IMethods.class);
assertTrue(readObject.booleanReturningMethod());
}
@Test
public void should_allow_mock_and_string_value_to_be_serializable() throws Exception {
// given