/** * @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); }
public function getPublisherByUuid(array $languageCodes, $uuid) { return PublisherByUuid::create($this->requestHandler)->setLanguageCodes($languageCodes)->setUuid($uuid); }