($total, $subtotal, $tax, $shipping, $discount)     {         $expectation = [             'subtotal' => $total,             'total' => $total,             'tax' => $tax,             'shipping' => $shipping,             'discount' => abs($discount)         ];          static::assertFalse($this->taxData->priceIncludesTax());          $payment = $this->getMockBuilder(Payment::class)             ->disableOriginalConstructor()             ->getMock();          $order = $this->getMockBuilder(Order::class)             ->disableOriginalConstructor()             ->getMock();          $payment->expects(static::exactly(0))             ->method('getBaseAmountAuthorized')             ->willReturn($total);          $order->expects(static::exactly(0))             ->method('getPayment')             ->willReturn($payment);          $order->expects(static::once())             ->method('getBaseDiscountAmount')             ->willReturn($discount);          $order->expects(static::once())             ->method('getBaseTaxAmount')             ->willReturn($tax);          $order->expects(static::once())             ->method('getBaseShippingAmount')             ->willReturn($shipping);          $order->expects(static::once())             ->method('getBaseSubtotal')             ->willReturn($subtotal);         $this->_model->setAmount($order);          static::assertEquals($expectation, $this->_model->getData());     }      /**      * @covers \Magento\Paypal\Model\Hostedpro\Request::setAmount()      *