@Test
void testAuthenticate2() throws ServletException, IOException {

    TestWebApplicationRequest request = new TestWebApplicationRequest();
    TestWebApplicationResponse response = new TestWebApplicationResponse();
    request.setAuthType(HttpServletRequest.CLIENT_CERT_AUTH);
    DefaultSecurityManager securityManager = new DefaultSecurityManager();
    assertThrows(ServletException.class, () -> assertFalse(securityManager.authenticate(request, response)));
}