}
@Test
public void testBasicVerificationRepository() throws Exception
{
ClientRequest request = new ClientRequest(TestPortProvider.generateURL("/signed"));
DKIMSignature contentSignature = new DKIMSignature();
contentSignature.setSelector("test1");
contentSignature.setDomain("samplezone.org");
request.getAttributes().put(KeyRepository.class.getName(), clientRepository);
request.header(DKIMSignature.DKIM_SIGNATURE, contentSignature);
request.body("text/plain", "hello world");
ClientResponse response = request.post();
Assert.assertEquals(204, response.getStatus());
}