@Test
public void tryToParseTokenFromInvalidAuthorization() {

    assertThatExceptionOfType(JwtInvalidException.class)
            .isThrownBy(() -> ImmutableJsonWebToken.fromAuthorization("Authorization foo"));
}