public function testSemanticDataStateToParserOutput() { $parserOutput = new ParserOutput(); $instance = new ParserData(Title::newFromText(__METHOD__), $parserOutput); $this->assertEmpty($parserOutput->getProperty('smw-semanticdata-status')); $instance->addDataValue($this->dataValueFactory->newDataValueByText('Foo', 'Bar')); $instance->setSemanticDataStateToParserOutputProperty(); $this->assertTrue($parserOutput->getProperty('smw-semanticdata-status')); }