public function testArchive() { $response = Ads::archive()->setSelectionCriteria((new IdsCriteria())->setIds([self::DEFAULT_AD]))->sendRequest(self::$connection); $ads = $response->getResult('ArchiveResults'); $this->assertEquals(self::DEFAULT_AD, $ads[0]->Id); }