public function testOneliner() { $file = new ConfigFile($this->examples_path . '/test.oneliner.php'); $this->assertSame(12, $file->getOption('OMG')); }
/** * Test if booleans are properly parsed */ public function testParsingBoolean() { $this->assertSame(true, $this->config_file->getOption('THIS_IS_TRUE')); $this->assertSame(false, $this->config_file->getOption('THIS_IS_FALSE')); }