Object expect = obj;
assertNotNull(expect);
}
public void TestEqualObject() throws Exception {
Serializer serializer = new Serializer();
List<SimpleClass> scs = new ArrayList<SimpleClass>();
SimpleClass sc = SimpleClass.Get();
scs.add(sc);
scs.add(sc);
byte[] buffer = serializer.Serialize(scs);
Object obj = serializer.Derialize(buffer, ArrayList.class);
List<SimpleClass> scs2 = (List<SimpleClass>) obj;
assertNotNull(scs2);
assertTrue(scs2.get(0) == scs2.get(1));
}