PhpOffice\PhpPresentation\Tests\Writer\ODPresentationTest::testConstruct PHP Method

testConstruct() public method

Test create new instance
public testConstruct ( )
    public function testConstruct()
    {
        $oPhpPresentation = new PhpPresentation();
        $oPhpPresentation->getActiveSlide()->createDrawingShape();
        $object = new ODPresentation($oPhpPresentation);
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PhpPresentation', $object->getPhpPresentation());
        $this->assertEquals('./', $object->getDiskCachingDirectory());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\HashTable', $object->getDrawingHashTable());
    }