/** * @dataProvider defaultListStopWordsProvider */ public function testUncachedIsWordCheckForDefaultList($word, $expected) { $instance = new StopwordAnalyzer(); $instance->loadListBy(StopwordAnalyzer::DEFAULT_STOPWORDLIST); $this->assertEquals($expected, $instance->isStopWord($word)); }