/**
  * @covers ::getOrderTransaction
  */
 public function testGetOrderTransaction()
 {
     $shopId = 2031;
     $paymentVoucher = "000002";
     $this->mirakl->getTransactions(Argument::cetera())->shouldBeCalled()->will(function () use($shopId, $paymentVoucher) {
         return Mirakl::getOrderTransactions($shopId, $paymentVoucher, "miscellaneousOrders.json");
     });
     $result = $this->cashoutInitializer->getOrderTransactions($shopId, $paymentVoucher);
     $this->assertContainsOnly("array", $result);
     $this->assertNotEmpty($result);
     $this->assertInternalType("array", $result);
     foreach ($result as $paymentTransaction) {
         $this->assertArrayHasKey("transaction_type", $paymentTransaction);
         $this->assertEquals(true, in_array($paymentTransaction["transaction_type"], $this->cashoutInitializer->getOrderTransactionTypes()));
     }
 }