Essence\Dom\DocumentTest::testConstruct PHP Method

testConstruct() public method

public testConstruct ( )
    public function testConstruct()
    {
        $Document = $this->getMockForAbstractClass('Essence\\Dom\\Document', ['html']);
        $Reflection = new ReflectionClass($Document);
        $Property = $Reflection->getProperty('_html');
        $Property->setAccessible(true);
        $this->assertEquals('html', $Property->getValue($Document));
    }
DocumentTest