public function setUp()
 {
     parent::setUp();
     /** @var string emailArgument */
     $this->operationArgument = Argument::type("\\HiPay\\Wallet\\Mirakl\\Cashout\\Model\\Operation\\OperationInterface");
     /** @var VendorInterface vendorArgument */
     $this->technicalAccountArgument = Argument::is($this->technical);
     $this->cashoutInitializer = new Initializer($this->eventDispatcher->reveal(), $this->logger->reveal(), $this->apiFactory->reveal(), $this->operator, $this->technical, $this->transactionValidator->reveal(), $this->operationManager->reveal(), $this->vendorManager->reveal());
 }
 public function setUp()
 {
     parent::setUp();
     /** @var string emailArgument */
     $this->emailArgument = Argument::containingString('@');
     /** @var VendorInterface vendorArgument */
     $this->vendorArgument = Argument::type("\\HiPay\\Wallet\\Mirakl\\Vendor\\Model\\VendorInterface");
     /** @var BankInfo bankInfoArgument */
     $this->bankInfoArgument = Argument::type("\\HiPay\\Wallet\\Mirakl\\Api\\HiPay\\Model\\Soap\\BankInfo");
     $this->vendorProcessor = new Processor($this->eventDispatcher->reveal(), $this->logger->reveal(), $this->apiFactory->reveal(), $this->vendorManager->reveal(), $this->documentManager->reveal());
 }
 public function setUp()
 {
     parent::setUp();
     /** @var VendorInterface vendorArgument */
     $this->vendorArgument = Argument::type("\\HiPay\\Wallet\\Mirakl\\Vendor\\Model\\VendorInterface");
     $this->transferArgument = Argument::type("\\HiPay\\Wallet\\Mirakl\\Api\\HiPay\\Model\\Soap\\Transfer");
     $this->cashoutProcessor = new Processor($this->eventDispatcher->reveal(), $this->logger->reveal(), $this->apiFactory->reveal(), $this->operationManager->reveal(), $this->vendorManager->reveal(), $this->operator);
     /** @var OperationInterface $operationArgument */
     $operationArgument = Argument::type("\\HiPay\\Wallet\\Mirakl\\Cashout\\Model\\Operation\\OperationInterface");
     $this->operationManager->generatePrivateLabel($operationArgument)->willReturn($this->getRandomString());
     $this->operationManager->generatePublicLabel($operationArgument)->willReturn($this->getRandomString());
     $this->operationManager->generateWithdrawLabel($operationArgument)->willReturn($this->getRandomString());
     $this->operationManager->save($operationArgument)->willReturn()->shouldBeCalled();
 }
 public function setUp()
 {
     parent::setUp();
     $this->testFilesPath = __DIR__ . "/../../data/test/notification/";
     $this->notificationHandler = new Handler($this->eventDispatcher->reveal(), $this->logger->reveal(), $this->operationManager->reveal(), $this->vendorManager->reveal());
 }