예제 #1
0
 public function testGetSetInformations()
 {
     $object = new PhpProject();
     $oInformations = new DocumentInformations();
     $this->assertInstanceOf('PhpOffice\\PhpProject\\DocumentInformations', $object->getInformations());
     $this->assertInstanceOf('PhpOffice\\PhpProject\\PhpProject', $object->setInformations($oInformations));
     $this->assertInstanceOf('PhpOffice\\PhpProject\\DocumentInformations', $object->getInformations());
 }