@Test
public void shouldSetCustomParams() {

    String customKey1 = "custom_key_1";
    String customValue1 = "custom_value_1";
    String customKey2 = "custom_key_2";
    String customValue2 = "custom_value_2";
    AuthenticationRequest authenticationRequest = new AuthenticationRequest.Builder(mClientId, mResponseType, mRedirectUri)
            .setCustomParam(customKey1, customValue1)
            .setCustomParam(customKey2, customValue2)
            .build();
    Uri.Builder uriBuilder = getBaseAuthUri(mClientId, mResponseType.toString(), mRedirectUri, mDefaultCampaign);
    uriBuilder.appendQueryParameter(customKey1, customValue1);
    uriBuilder.appendQueryParameter(customKey2, customValue2);
    Uri uri = uriBuilder.build();
    assertEquals(uri, authenticationRequest.toUri());
}