public function testSetBillingAgreementDetails()
{
$client = new Client($this->configParams);
$fieldMappings = array('merchant_id' => 'SellerId', 'amazon_billing_agreement_id' => 'AmazonBillingAgreementId', 'platform_id' => 'BillingAgreementAttributes.PlatformId', 'seller_note' => 'BillingAgreementAttributes.SellerNote', 'seller_billing_agreement_id' => 'BillingAgreementAttributes.SellerBillingAgreementAttributes.SellerBillingAgreementId', 'custom_information' => 'BillingAgreementAttributes.SellerBillingAgreementAttributes.CustomInformation', 'store_name' => 'BillingAgreementAttributes.SellerBillingAgreementAttributes.StoreName', 'mws_auth_token' => 'MWSAuthToken');
$action = 'SetBillingAgreementDetails';
$parameters = $this->setParametersAndPost($fieldMappings, $action);
$expectedParameters = $parameters['expectedParameters'];
$apiCallParams = $parameters['apiCallParams'];
$expectedStringParams = $this->callPrivateMethod($client, 'calculateSignatureAndParametersToString', $expectedParameters);
$response = $client->setBillingAgreementDetails($apiCallParams);
$apiParametersString = $client->getParameters();
$this->assertEquals($apiParametersString, $expectedStringParams);
}