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

testConstruct() public method

Test create new instance
public testConstruct ( )
    public function testConstruct()
    {
        $objectPrefix = 'PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007\\';
        $oPhpPresentation = new PhpPresentation();
        $object = new PowerPoint2007($oPhpPresentation);
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PhpPresentation', $object->getPhpPresentation());
        $this->assertEquals('./', $object->getDiskCachingDirectory());
        $this->assertInstanceOf("{$objectPrefix}LayoutPack\\PackDefault", $object->getLayoutPack());
    }