/** * Tests OxConfigFile::isVarSet() method */ public function testIsVarSet() { $filePath = $this->createFile('config.inc.php', '<?php $this->testVar = "testValue";'); $oConfigFile = new oxConfigFile($filePath); $this->assertTrue($oConfigFile->isVarSet("testVar"), "Variable is supposed to be set"); $this->assertFalse($oConfigFile->isVarSet("nonExistingVar"), "Variable is not supposed to be set"); }