when(request.method()).thenReturn(METHOD);
when(request.path()).thenReturn(PATH);
when(request.queryString()).thenReturn(ImmutableMap.<String, String[]>of());
when(jwtIssuerValidator.isValid(anyString())).thenReturn(true);
when(jwtIssuerSharedSecretService.getSharedSecret(anyString())).thenReturn(PASSWORD);
Response response = new Response();
return jwtAuthenticator.authenticate(request, response).getResult();
}