FieldFlight f = test.fieldManyToOneCreate();
f = test.fieldFindFlightById(f.getId());
assertTrue(f.getName().equals("AF0101"));
assertTrue(f.getCompany().getName().equals("Air France"));
FieldCompany c = test.fieldFindCompanyById(f.getCompany().getId());
assertTrue(c != null);
assertTrue(c.getFlights().size() == 1);
}
public void testFieldManyToMany() throws Exception