ManifestFileRecordCurator extends AbstractHibernateCurator<ManifestFileRecord> { public ManifestFileRecord findFile(String id) { return id == null ? null : ManifestFileRecord.class.cast( currentSession().get(ManifestFileRecord.class, id)); } ManifestFileRecordCurator(); @Transactional boolean deleteById(String id); ManifestFileRecord findFile(String id); @Transactional ManifestFileRecord createFile(ManifestFileType type, File fileToStore, String principalName,
        String targetId); @Transactional int deleteExpired(Date expiryDate); int deleteMatching(ManifestFileType type, String targetId);  }
@Test public void testFindFile() throws Exception { assertNotNull(curator.findFile(record.getId())); }