@Test
public void testValidateTokenWithoutAudiences() throws Exception {

  JwtAuthenticationProperties properties = createTestProperties();
  JwtAuthenticationFilter filter = new JwtAuthenticationFilter(properties, null, null);
  boolean isValid = filter.validateAudiences(getSignedToken(null));
  assertEquals(false, isValid);
}