.assertAccessTokenIs(ACCESS_TOKEN).assertExpiresInIs(EXPIRES_IN).assertRefreshTokenIs(REFRESH_TOKEN)
.assertState(state.getValue())
.assertContainsCustomTokenResponseParam(customTokenResponseParameter1Name.getValue(), CUSTOM_RESPONSE_PARAMETER1_VALUE)
.assertContainsCustomTokenResponseParam(customTokenResponseParameter2Name.getValue(), CUSTOM_RESPONSE_PARAMETER2_VALUE);
}
<BUG>private TlsContextFactory createClientTlsContextFactory() throws IOException {
DefaultTlsContextFactory tlsContextFactory = new DefaultTlsContextFactory();</BUG>
tlsContextFactory.setTrustStorePath("ssltest-cacerts.jks");
tlsContextFactory.setTrustStorePassword("changeit");
tlsContextFactory.setKeyStorePath("ssltest-keystore.jks");

.assertAccessTokenIs(ACCESS_TOKEN).assertExpiresInIs(EXPIRES_IN).assertRefreshTokenIs(REFRESH_TOKEN)
.assertState(state.getValue())
.assertContainsCustomTokenResponseParam(customTokenResponseParameter1Name.getValue(), CUSTOM_RESPONSE_PARAMETER1_VALUE)
.assertContainsCustomTokenResponseParam(customTokenResponseParameter2Name.getValue(), CUSTOM_RESPONSE_PARAMETER2_VALUE);
}
private TlsContextFactory createClientTlsContextFactory() {
try {
DefaultTlsContextFactory tlsContextFactory = new DefaultTlsContextFactory();
tlsContextFactory.setTrustStorePath("ssltest-cacerts.jks");
tlsContextFactory.setTrustStorePassword("changeit");
tlsContextFactory.setKeyStorePath("ssltest-keystore.jks");
