assertEquals(mod2, res2.get(0));
}
}
public void testInsertAutoQueryAsyncFetchAsyncQueryAsync() {
SampleModel mod = new SampleModel();
mod.clazz = String.class;
mod.foobar = "FOOBAR";
mod.publicField = "PUBLIC_FIELD";
mod.setPrivateField("PRIVATE_FIELD");
mod.type = SampleModel.Type.FOO;
mod.async().insert().get();
SampleModel2 mod2 = new SampleModel2();
mod2.relationship = mod;
mod2.async().insert().get();