@Test
public void testReturnFalseWhenJWTisUnsupported() {

    Date expirationDate = new Date(new Date().getTime() + ONE_MINUTE);

    Authentication authentication = createAuthentication();

    String unsupportedToken = createUnsupportedToken();

    boolean isTokenValid = tokenProvider.validateToken(unsupportedToken);

    assertThat(isTokenValid).isEqualTo(false);
}