@Test
public void testDoFilterHappyFlow() throws IOException, ServletException {
Map<String, String> attributes = new HashMap<String, String>();
attributes.put("key", "value");
VerifyTokenResponse recorderdResponse = new VerifyTokenResponse("org.surfnet.oaaas.conext.mock-client", Collections.singletonList("read"),
new AuthenticatedPrincipal("john.doe", Arrays.asList("user", "admin"), attributes), 0L);
MockFilterChain chain = doCallFilter(recorderdResponse);
/*
* Verify that the FilterChain#doFilter is called and the
* VerifyTokenResponse is set on the Request
*/