existsType() public method

public existsType ( string $indexName, string $type ) : boolean
$indexName string
$type string
return boolean
 public function testCreating()
 {
     $this->indicesManager->create('authors');
     $this->assertTrue($this->indicesManager->exists('authors'));
     $this->assertTrue($this->indicesManager->existsType('authors', 'directors'));
     $this->assertTrue($this->indicesManager->existsType('authors', 'producers'));
 }