parse(); $this->assertInstanceOf(PSCValue::class, $element); } public function testIfCorret() { $parser = new Value(simplexml_load_string(file_get_contents(__DIR__ . '/../TestFiles/PreCalc/value.xml'))); $element = $parser->parse(); $this->assertSame("auflage", $element->getKey()); $this->assertSame("100", $element->getValue()); } }