### Question:
TokenUtils { public static boolean isExpired(Token token) { return System.currentTimeMillis() >= token.getExpiryTime(); }  static byte[] getBytesOfToken(Token token); static String[] getGroups(Token token); static Attribute getAttribute(Token token, String attrName); static long getRefreshTime(Token token); static boolean isExpired(Token token); static String encodeToken(byte[] token); static byte[] decodeToken(String token); static Token createTokenInstance(String tokenName, long id, 
      Secrets secrets, String issuer, String user, long issueInstant, 
      long notBefore, long notOnOrAfter, boolean encrypted); static T newInstance(Class<T> theClass, long id, 
      Secrets secrets, String issuer, String user, long issueInstant, 
      long notBefore, long notOnOrAfter, boolean encrypted);  }### Answer:
@Test public void testIsExpired() throws Exception { Token identityToken = createToken(null, identityTokenName); System.out.println(TokenUtils.isExpired(identityToken)); assertEquals(TokenUtils.isExpired(identityToken), false); }