setLastView() public method

public setLastView ( string $value = self::VIEW_SLIDE )
$value string
 public function testLastView()
 {
     $object = new PresentationProperties();
     $this->assertEquals(PresentationProperties::VIEW_SLIDE, $object->getLastView());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setLastView('AAAA'));
     $this->assertEquals(PresentationProperties::VIEW_SLIDE, $object->getLastView());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setLastView(PresentationProperties::VIEW_OUTLINE));
     $this->assertEquals(PresentationProperties::VIEW_OUTLINE, $object->getLastView());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setLastView());
     $this->assertEquals(PresentationProperties::VIEW_SLIDE, $object->getLastView());
 }