public function testSingleTermSearchTermDoesNotExists()
{
$docs = array(new TokensDocument(array("no", "tokens")));
$collection = new DocumentArrayCollection($docs);
$builder = new CollectionInvertedIndexBuilder($collection);
$adapter = new ArrayDataReaderAdapter($builder->getIndex());
$invertedIndex = new InvertedIndex($adapter);
$this->assertEquals(array(), $invertedIndex->query("none"));
$this->assertEquals(array(), $invertedIndex->query("php"));
}