}
public void testSubQuery(){
QueryWithSubquery sub = new QueryWithSubquery();
sub.setName("subQuery1");
sub.setSubQuery(new ObjectSubquery("name1"));
System.out.println(admin.save(sub));
QueryWithSubquery sub2 = new QueryWithSubquery();
sub2.setName("subQuery2");
sub2.setSubQuery(new ObjectSubquery("subQuery2"));
System.out.println(admin.save(sub2));
QueryWithSubquery sub3 = new QueryWithSubquery();
sub3.setName("subQuery3");
sub3.setSubQuery(new ObjectSubquery("name3"));
System.out.println(admin.save(sub3));
QueryWithSubquery sub4 = new QueryWithSubquery();
admin.obtain(sub4).If().For("value", ObjectSubquery.class).closeFor().in("name", QueryWithSubquery.class).find();