PhpOffice\PhpPresentation\Tests\Writer\ODPresentation\MetaInfManifestTest::testDrawingZipException PHP Method

testDrawingZipException() public method

    public function testDrawingZipException()
    {
        $oPhpPresentation = new PhpPresentation();
        $oSlide = $oPhpPresentation->getActiveSlide();
        $oShape = new Drawing\ZipFile();
        $oShape->setPath('zip://' . PHPPRESENTATION_TESTS_BASE_DIR . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR . 'files' . DIRECTORY_SEPARATOR . 'filedoesntexist.zip', false);
        $oSlide->addShape($oShape);
        TestHelperDOCX::getDocument($oPhpPresentation, 'ODPresentation');
    }