public function testSlideLayout() { $object = new Slide(); $this->assertEquals(Slide\Layout::BLANK, $object->getSlideLayout()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide', $object->setSlideLayout()); $this->assertEquals(Slide\Layout::BLANK, $object->getSlideLayout()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide', $object->setSlideLayout(Slide\Layout::TITLE_SLIDE)); $this->assertEquals(Slide\Layout::TITLE_SLIDE, $object->getSlideLayout()); }