public function testParameters()
 {
     $order = new Order();
     $order->setPayUOrderId(self::PAYU_ORDER_ID);
     $orderStatusRequest = new OrderRetrieveRequest($order);
     $this->assertNotEmpty($orderStatusRequest->getDataObject());
     $this->assertEquals(sprintf('orders/%s', self::PAYU_ORDER_ID), $orderStatusRequest->getPath());
     $this->assertEquals('GET', $orderStatusRequest->getMethod());
 }
 /**
  * @return OrderInterface
  */
 private function getOrder()
 {
     $order = new Order();
     $order->setPayUOrderId(self::PAYU_ORDER_ID);
     return $order;
 }