@Test
public void testReadResolve() throws Exception
{

  SerializableOperator<Object> pre = new SerializableOperator<>();
  pre.setI(10);
  FileOutputStream fos = new FileOutputStream(filename);
  ObjectOutputStream oos = new ObjectOutputStream(fos);
  oos.writeObject(pre);
  oos.close();
  FileInputStream fis = new FileInputStream(filename);
  ObjectInputStream ois = new ObjectInputStream(fis);
  Object post = ois.readObject();
  ois.close();
  assertEquals("Serialized Deserialized Objects", pre, post);
}