You are here

public function SearchApiElasticsearchElasticaTest::testConstructor in Search API Elasticsearch 7

testConstructor

@access public

Return value

void

File

modules/elastica/tests/phpunit/SearchApiElasticsearchElasticaTest.php, line 90
Contains tests for SearchApiElasticsearchElastica.

Class

SearchApiElasticsearchElasticaTest
@file Contains tests for SearchApiElasticsearchElastica.

Code

public function testConstructor() {
  $class = $this->_client;
  $this
    ->assertInstanceOf('SearchApiElasticsearchElastica', $class);
  $this
    ->assertInstanceOf('SearchApiElasticsearchAbstractService', $class);
  $this
    ->assertInstanceOf('SearchApiAbstractService', $class);
}