public function testCallKeywords() { $text = 'table pencil'; $rows = ArticleIndex::callKeywords($text); $this->assertNotEmpty($rows, 'Unable to call keywords!'); $this->assertArrayHasKey('tokenized', $rows[0], 'No tokenized keyword!'); $this->assertArrayHasKey('normalized', $rows[0], 'No normalized keyword!'); }