예제 #1
0
 /**
  * @covers ::execute
  *
  * @dataProvider providerTestExecute
  *
  * @depends      testExecute
  */
 public function testExecuteRealRequest($form, $instanceof)
 {
     $this->sut = PublisherByUuid::create($this->productionRequestHandler);
     $uuid = '7d84ef00-f4f6-4b90-89d7-f20207ee9ca6';
     $languageCodes = ['en'];
     $mtgObject = $this->sut->setUuid($uuid)->setLanguageCodes($languageCodes)->setForm($form)->execute();
     $this->assertInstanceOf($instanceof, $mtgObject);
 }
예제 #2
0
파일: Client.php 프로젝트: triquanta/libizi
 public function getPublisherByUuid(array $languageCodes, $uuid)
 {
     return PublisherByUuid::create($this->requestHandler)->setLanguageCodes($languageCodes)->setUuid($uuid);
 }