@Test
public void isSpecifiedShouldReturnFalseWhenBearerIsNull() {

    final ContainerRequest containerRequestMock = mock(ContainerRequest.class);
    when(containerRequestMock.getRequestHeader(eq(HttpHeaders.AUTHORIZATION)))
            .thenReturn(Collections.singletonList("Basic 123456"));
    final JwtAuthenticationService authService = new JwtAuthenticationService(containerRequestMock);
    assertThat(authService.isSpecified()).isFalse();
}