assertEquals(1, o1.getV());
assertEquals(o1, t1.getV());
}
public void testReadObject_Owner_WithWriteStatement() {
MockBean4Owner_Owner o2 = new MockBean4Owner_Owner();
XMLDecoder dec2 = new XMLDecoder(this.getClass().getResourceAsStream(
"/xml/MockBean4Owner_SetOwnerWithWriteStatement.xml"), o2);
MockBean4Owner_Target t2 = (MockBean4Owner_Target) dec2.readObject();
assertEquals(999, o2.getV());
assertEquals(o2, t2.getV());
}