public function testCreateOrderReferenceForId()
{
$client = new Client($this->configParams);
$fieldMappings = array('merchant_id' => 'SellerId', 'id' => 'Id', 'id_type' => 'IdType', 'inherit_shipping_address' => 'InheritShippingAddress', 'confirm_now' => 'ConfirmNow', 'amount' => 'OrderReferenceAttributes.OrderTotal.Amount', 'currency_code' => 'OrderReferenceAttributes.OrderTotal.CurrencyCode', 'platform_id' => 'OrderReferenceAttributes.PlatformId', 'seller_note' => 'OrderReferenceAttributes.SellerNote', 'seller_order_id' => 'OrderReferenceAttributes.SellerOrderAttributes.SellerOrderId', 'store_name' => 'OrderReferenceAttributes.SellerOrderAttributes.StoreName', 'custom_information' => 'OrderReferenceAttributes.SellerOrderAttributes.CustomInformation', 'mws_auth_token' => 'MWSAuthToken');
$action = 'CreateOrderReferenceForId';
$parameters = $this->setParametersAndPost($fieldMappings, $action);
$expectedParameters = $parameters['expectedParameters'];
$apiCallParams = $parameters['apiCallParams'];
$expectedStringParams = $this->callPrivateMethod($client, 'calculateSignatureAndParametersToString', $expectedParameters);
$response = $client->createOrderReferenceForId($apiCallParams);
$apiParametersString = $client->getParameters();
$this->assertEquals($apiParametersString, $expectedStringParams);
}