@Test public void test_should_300_second_ttl() { final TokenRequest token = new TokenRequest("identity","tenant"); assertEquals(300, token.getTimeToLive()); }
public long getTimeToLive() { return TTL_IN_SECONDS; }
TokenRequest { public long getTimeToLive() { return TTL_IN_SECONDS; } }
TokenRequest { public long getTimeToLive() { return TTL_IN_SECONDS; }  }
TokenRequest { public long getTimeToLive() { return TTL_IN_SECONDS; }  long getTimeToLive(); void validate(); boolean isTenantIdAbsent(); boolean isIdentityAbsent(); String generateToken(); }
TokenRequest { public long getTimeToLive() { return TTL_IN_SECONDS; }  long getTimeToLive(); void validate(); boolean isTenantIdAbsent(); boolean isIdentityAbsent(); String generateToken();  }