ParaTest\Logging\JUnit\WriterTest::testWrite PHP Method

testWrite() public method

public testWrite ( )
    public function testWrite()
    {
        $output = FIXTURES . DS . 'logs' . DS . 'passing.xml';
        $this->addPassingReader();
        $this->writer->write($output);
        $this->assertXmlStringEqualsXmlString(file_get_contents($this->passing), file_get_contents($output));
        if (file_exists($output)) {
            unlink($output);
        }
    }