public function testMissingXMLNodesReturnNull() { $xmlFile = $this->getResourcePath('Rules/Empty.xml'); $this->assertFileExists($xmlFile); $config = new Config(simplexml_load_file($xmlFile)); $this->assertNull($config->ruleSet()); }