import com.google.appengine.datanucleus.bugs.test.Issue228Owner;
public class Issue228Test extends JDOBugTestCase {
public void testOneToOneBidir() {
Issue228Related c = new Issue228Related();
c.setAString("Child info");
Issue228Owner p = new Issue228Owner();
p.setAString("Not important");
p.setChild(c);
assertTrue(p.getChild() == c && c.getParent() == p);
NucleusLogger.GENERAL.info(">> pm.makePersistent");
pm.makePersistent(p);
NucleusLogger.GENERAL.info(">> pm.makePersistent done");
}