@Test
public void testNoAuthentication()
{

    try {
        new AdminServerCredentialVerifier(ADMIN_SERVER_CONFIG, HTTP_SERVER_CONFIG)
                .authenticate(SECURITY_CONTEXT_DENY, null);
        fail("Expected WebApplicationException");
    }
    catch (WebApplicationException e) {
        assertEquals(e.getResponse().getStatus(), 401);
    }
}