6869707172737475767778
} @Test @SuppressWarnings("unchecked") public void usesRegisteredInstantiator() { Address address = new Address(); address.zipCode = "01234"; address.city = "London"; Person person = new Person(1L, "Oliver", "Gierke"); person.address = address;
6768697071727374757677
} @Test public void serializeAndDeserializeCorrectly() { Address address = new Address(); address.zipCode = "01234"; address.city = "London"; Person person = new Person(1L, "Oliver", "Gierke"); person.address = address;
8889909192939495969798
} @Test public void serializeAndDeserializeCorrectlyWithDataSerializable() { Address address = new Address(); address.zipCode = "01234"; address.city = "London"; PersonWithDataSerializableProperty person = new PersonWithDataSerializableProperty(2L, "Oliver", "Gierke", new DataSerializableProperty("foo")); person.address = address;