Ejemplo n.º 1
0
 /**
  * @covers ::execute
  *
  * @dataProvider providerTestExecute
  *
  * @depends      testExecute
  */
 public function testExecuteRealRequest($form, $instanceof)
 {
     $this->sut = MtgObjectByUuid::create($this->productionRequestHandler);
     $uuid = 'bcf57367-77f6-4e39-9da6-1b481826501f';
     $languageCodes = ['en'];
     $mtgObject = $this->sut->setUuid($uuid)->setLanguageCodes($languageCodes)->setForm($form)->execute();
     $this->assertInstanceOf($instanceof, $mtgObject);
 }
Ejemplo n.º 2
0
 public function getMtgObjectByUuid(array $languageCodes, $uuid)
 {
     return MtgObjectByUuid::create($this->requestHandler)->setLanguageCodes($languageCodes)->setUuid($uuid);
 }