PhpOffice\PhpPresentation\Tests\Writer\ODPresentation\ContentTest::testTable PHP Method

testTable() public method

public testTable ( )
    public function testTable()
    {
        $phpPresentation = new PhpPresentation();
        $oSlide = $phpPresentation->getActiveSlide();
        $oSlide->createTableShape();
        $pres = TestHelperDOCX::getDocument($phpPresentation, 'ODPresentation');
        $element = '/office:document-content/office:body/office:presentation/draw:page/draw:frame/table:table';
        $this->assertTrue($pres->elementExists($element, 'content.xml'));
    }