public function testOneliner() { $file = new ConfigFile($this->examples_path . '/test.oneliner.php'); $this->assertSame(12, $file->getOption('OMG')); }
/** * Test if config file ignores declarations in comments */ public function testIgnoredDeclarationsInComments() { $this->assertFalse($this->config_file->optionExists('IGNORE_ME')); $this->assertFalse($this->config_file->optionExists('THIS_SHOULD_BE_IGNORED')); }