/** * @param string $path * @param mixed $configValue * * @dataProvider getConfigProvider */ public function testGetConfig($path, $configValue) { $this->_scopeConfig->expects($this->once())->method('getValue')->will($this->returnValue($configValue)); $this->assertEquals($configValue, $this->_block->getConfig($path)); }