this.service = new CRLDownloadAddressDAO(this.getSession(), this.getBatchSize(), true);
}
@Test
public void testAddCrlDownloadAddressOK() throws Exception {
CRLIssuer issuer = new CRLIssuer();
issuer.setId("1111111111111111111111111111111111111111");
issuer.setName("CN=AC Secretaria da Receita Federal do Brasil, O=ICP-Brasil, C=BR");
issuer.setDescription("Secretaria da Receita Federal do Brasil");
CRLDownloadAddressCompositePrimaryKey key = new CRLDownloadAddressCompositePrimaryKey(issuer, "http://www.teste1.com.br/teste.crl");
CRLDownloadAddress address = new CRLDownloadAddress(key);
address.setDescription("URL de teste");