public function testReadSetRuntimeValues()
 {
     $_php = new M3_Util_PhpSettings('PhpSettingsTestCase3.php');
     $_data = array(M3_Util_PhpSettings::UNPARSED . '0' => "<?php\n", 'GLOBALS[\'g1\']' => 'gone', 'GLOBALS[\'g2\']' => 'gtwo', 'GLOBALS[\'str1\']' => '"string here"', 'GLOBALS[\'str2\']' => '\'another string\'', M3_Util_PhpSettings::UNPARSED . '1' => "?>\n");
     $_php->writePhpFile($_data);
     $_php->readPhpFileSetRuntimeValues($_readData, true);
     $this->assertEquals(4, count($_readData));
     // does not include the two UNPARSED lines
     $this->assertArrayHasKey('GLOBALS[\'g1\']', $_readData);
     $this->assertArrayHasKey('GLOBALS[\'g2\']', $_readData);
     $this->assertArrayHasKey('GLOBALS[\'str1\']', $_readData);
     $this->assertArrayHasKey('GLOBALS[\'str1\']', $_readData);
     $this->assertArrayNotHasKey(M3_Util_PhpSettings::UNPARSED . '0', $_readData);
     $this->assertArrayNotHasKey(M3_Util_PhpSettings::UNPARSED . '1', $_readData);
     $this->assertEquals($GLOBALS['g1'], "gone");
     $this->assertEquals($GLOBALS['g2'], "gtwo");
     $this->assertEquals($GLOBALS['str1'], "string here");
     $this->assertEquals($GLOBALS['str2'], "another string");
     unlink($_php->getConfigurationPathName());
 }