/** * Tests loading of config file * * @param string $source File name of config to load * @param boolean $result Expected result of loading * * @return void * * @dataProvider configPaths */ public function testLoad($source, $result) { if ($result) { $this->assertTrue($this->object->load($source)); } else { $this->assertFalse($this->object->load($source)); } }