}
@Test
public void testLookup() throws Exception {
SubscriptionsCertificate certificate = createSubCert("key", "cert");
certificateCurator.create(certificate);
SubscriptionsCertificate lookedUp = certificateCurator.find(certificate
.getId());
assertNotNull(lookedUp);
assertEquals(certificate.getId(), lookedUp.getId());
assertEquals(certificate.getKey(), lookedUp.getKey());
assertEquals(certificate.getCert(), lookedUp.getCert());
assertEquals(certificate.getSerial(), lookedUp.getSerial());
}