public function testCapture()
{
$client = new Client($this->configParams);
$fieldMappings = array('merchant_id' => 'SellerId', 'amazon_authorization_id' => 'AmazonAuthorizationId', 'capture_amount' => 'CaptureAmount.Amount', 'currency_code' => 'CaptureAmount.CurrencyCode', 'capture_reference_id' => 'CaptureReferenceId', 'seller_capture_note' => 'SellerCaptureNote', 'soft_descriptor' => 'SoftDescriptor', 'mws_auth_token' => 'MWSAuthToken');
$action = 'Capture';
$parameters = $this->setParametersAndPost($fieldMappings, $action);
$expectedParameters = $parameters['expectedParameters'];
$apiCallParams = $parameters['apiCallParams'];
$expectedStringParams = $this->callPrivateMethod($client, 'calculateSignatureAndParametersToString', $expectedParameters);
$response = $client->capture($apiCallParams);
$apiParametersString = $client->getParameters();
$this->assertEquals($apiParametersString, $expectedStringParams);
}