mod.setPrivateField("PRIVATE_FIELD");
mod.type = SampleModel.Type.FOO;
mod.async().insert().get();
SampleModel2 mod2 = new SampleModel2();
mod2.relationship = mod;
mod2.async().insert().get();
SienaFuture<List<SampleModel>> future = SampleModel.all().async().fetch();
List<SampleModel> res = future.get();
for(SampleModel m: res){
assertEquals(mod, m);