public function testParsingNamespacesclass()
 {
     $parser = new SS_ConfigStaticManifest_Parser(__DIR__ . '/ConfigStaticManifestTest/ConfigStaticManifestTestNamespace.php');
     $parser->parse();
     $statics = $parser->getStatics();
     $expectedValue = array('Name' => 'Varchar', 'Description' => 'Text');
     $this->assertEquals($expectedValue, $statics['config\\staticmanifest\\NamespaceTest']['db']['value']);
 }
 public function handleFile($basename, $pathname, $depth)
 {
     $parser = new SS_ConfigStaticManifest_Parser($pathname);
     $parser->parse();
     $this->index = array_merge($this->index, $parser->getInfo());
     $this->statics = array_merge($this->statics, $parser->getStatics());
 }
 public function testParsingClassKeyword()
 {
     $parser = new SS_ConfigStaticManifest_Parser(__DIR__ . '/ConfigStaticManifestTest/ConfigStaticManifestTestClassKeyword.php');
     $parser->parse();
     $statics = $parser->getStatics();
     $this->assertEquals('bar', $statics['ConfigStaticManifestTestClassKeyword']['foo']['value']);
 }