@Test
public void should_remember_interactions_for_serialized_mock() throws Exception {
IMethods mock = mock(IMethods.class, withSettings().serializable());
List<?> value = Collections.emptyList();
when(mock.objectArgMethod(anyString())).thenReturn(value);
mock.objectArgMethod("happened");
// when
ByteArrayOutputStream serialized = serializeMock(mock);