public function testSetTypeArraySearchSingle() { $query = new Elastica_Query_Ids(); $query->setIds('4'); $query->setType(array('helloworld1', 'helloworld2')); $resultSet = $this->_index->search($query); $this->assertEquals(1, $resultSet->count()); }