@Test(groups = INTEGRATION)
public void testBearerTokenFilter() throws Exception {

    mockLogin();
    ClientRequestContext context = stubRequestContext();
    auth.filter(context);
    assert context.getHeaders().get("Authorization") != null;
}