public function testGetDataWithExtraOrderDetails()
{
$this->request->initialize(array('amount' => '10.00', 'currency' => 'AUD', 'transactionId' => '111', 'description' => 'Order Description', 'returnUrl' => 'https://www.example.com/return', 'cancelUrl' => 'https://www.example.com/cancel', 'subject' => '[email protected]', 'headerImageUrl' => 'https://www.example.com/header.jpg', 'noShipping' => 0, 'allowNote' => 0, 'addressOverride' => 0, 'brandName' => 'Dunder Mifflin Paper Company, Inc.', 'taxAmount' => '2.00', 'shippingAmount' => '5.00', 'handlingAmount' => '1.00', 'shippingDiscount' => '-1.00', 'insuranceAmount' => '3.00'));
$data = $this->request->getData();
$this->assertSame('2.00', $data['PAYMENTREQUEST_0_TAXAMT']);
$this->assertSame('5.00', $data['PAYMENTREQUEST_0_SHIPPINGAMT']);
$this->assertSame('1.00', $data['PAYMENTREQUEST_0_HANDLINGAMT']);
$this->assertSame('-1.00', $data['PAYMENTREQUEST_0_SHIPDISCAMT']);
$this->assertSame('3.00', $data['PAYMENTREQUEST_0_INSURANCEAMT']);
}