CdnManager { @Transactional public void deleteCdn(Cdn cdn) { poolCurator.removeCdn(cdn); cdnCurator.delete(cdn); } @Inject  CdnManager(CdnCurator cdnCurator, PoolCurator poolCurator,
        CertificateSerialCurator certSerialCurator); @Transactional Cdn createCdn(Cdn cdn); @Transactional void updateCdn(Cdn cdn); @Transactional void deleteCdn(Cdn cdn);  }
@Test public void deleteCdn() throws Exception { Cdn cdn = createCdn("test_cdn"); manager.deleteCdn(cdn); assertNull(curator.getByLabel(cdn.getLabel())); }