PhpOffice\PhpPresentation\Tests\Writer\PowerPoint2007\PptMediaTest::testDrawingZipException PHP Méthode

testDrawingZipException() public méthode

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