/**
  * @param mixed $configValue
  * @param bool $expectedResult
  * @dataProvider isSetFlagDataProvider
  */
 public function testIsSetFlag($configValue, $expectedResult)
 {
     $path = 'some path';
     $configData = $this->getConfigDataMock('getValue');
     $configData->expects($this->once())->method('getValue')->with($this->equalTo($path))->will($this->returnValue($configValue));
     $this->sectionPool->expects($this->once())->method('getScope')->with($this->equalTo('default'), $this->isNull())->will($this->returnValue($configData));
     $this->assertEquals($expectedResult, $this->model->isSetFlag($path));
 }
 public function testIfCustomPathNotUsed()
 {
     $this->configMock->expects($this->once())->method('getValue')->with('admin/url/use_custom_path')->will($this->returnValue(false));
     $this->assertEquals($this->_defaultFrontName, $this->model->getFrontName());
 }