public static final Long ISSUED_AT = 2L;
@Test
public void testNewClientInfo() throws Exception {
BasicClientInfo basicClientInfo = BasicClientInfoBuilder.clientInfo()
.setClientId(CLIENT_ID)
.setClientSecret(CLIENT_SECRET)
.setRedirectUri(REDIRECT_URI)
.setName(NAME)
.setIconUri(ICON_URI)
.setExpiresIn(EXPIRES_IN)
.setIssuedAt(ISSUED_AT)
.build();
Assert.assertNotNull(basicClientInfo);
Assert.assertEquals(CLIENT_ID, basicClientInfo.getClientId());
Assert.assertEquals(CLIENT_SECRET, basicClientInfo.getClientSecret());
Assert.assertEquals(REDIRECT_URI, basicClientInfo.getRedirectUri());
Assert.assertEquals(NAME, basicClientInfo.getName());
Assert.assertEquals(ICON_URI, basicClientInfo.getIconUri());
Assert.assertEquals(EXPIRES_IN, basicClientInfo.getExpiresIn());
Assert.assertEquals(ISSUED_AT, basicClientInfo.getIssuedAt());
}