Пример #1
0
 public function testGetIndex()
 {
     $this->assertInstanceOf(Index::class, $this->job->getIndex());
     $this->assertEquals('index_key', $this->job->getIndex()->getKey());
     $this->assertEquals('Index Name', $this->job->getIndex()->getName());
     $this->assertEquals('http://index.url', $this->job->getIndex()->getUrl());
     $this->assertEquals('affId', $this->job->getIndex()->getAffiliateId());
 }