public function setUp() { Campaigns::unarchive()->setSelectionCriteria((new IdsCriteria())->setIds([CampaignsTest::DEFAULT_CAMPAIGN]))->sendRequest(self::$connection); }
public function testUnarchive() { $response = Campaigns::unarchive()->setSelectionCriteria((new IdsCriteria())->setIds([self::DEFAULT_CAMPAIGN]))->sendRequest(self::$connection); $campaigns = $response->getResult('UnarchiveResults'); $this->assertEquals(self::DEFAULT_CAMPAIGN, $campaigns[0]->Id); }