LoggedSqlCollector.start();
Order order = query.findUnique();
EntityBean eb = (EntityBean)order;
EntityBeanIntercept ebi = eb._ebean_getIntercept();
Assert.assertFalse(ebi.isFullyLoadedBean());
Set<String> loadedPropertyNames = ebi.getLoadedPropertyNames();
Assert.assertNotNull(loadedPropertyNames);
Assert.assertTrue(loadedPropertyNames.contains("status"));
Assert.assertFalse(loadedPropertyNames.contains("customer"));