/** * @param string $expected * @param string $namespace * @param string $topic * @param string $language * @dataProvider providerGetCacheKey */ public function testGetCacheKey($expected, $namespace, $topic, $language) { $key = $this->lexicon->getCacheKey($namespace, $topic, $language); $this->assertEquals($expected, $key); }