@Test
public void testGetBearerTokenMissingCookieHeader() {

    when(authContextInfo.getTokenHeader()).thenReturn(COOKIE);
    AbstractBearerTokenExtractor target = newTarget(h -> null, c -> null);
    String bearerToken = target.getBearerToken();
    assertNull(bearerToken);
}