PFile persistentFile = new PFile("test.txt", new PFileContent("test".getBytes()));
EntityBean eb = (EntityBean)persistentFile;
EntityBeanIntercept ebi = eb._ebean_getIntercept();
int namePos = ebi.findProperty("name");
int fileContentPos = ebi.findProperty("fileContent");
Assert.assertTrue(ebi.isLoadedProperty(namePos));
Assert.assertTrue(ebi.isLoadedProperty(fileContentPos));