/** * @dataProvider getIndexedValuesProvider */ public function testGetIndexedValues($type, $config, $expectedValues) { $this->configContainer->setConfig($config); $result = $this->configContainer->getIndexedValues($type); $this->assertEquals($expectedValues, $result); // test that a result is cached locally $this->assertEquals($expectedValues, $this->configContainer->getIndexedValues($type)); }
/** * @dataProvider getIndexedValuesProvider */ public function testGetIndexedValues($type, $config, $expectedValues) { $this->configContainer->setConfig($config); $result = $this->configContainer->getIndexedValues($type); $this->assertEquals($expectedValues, $result); }