public function testGetSetDate() { $expectedDate = time(); $object = new Comment(); $this->assertInternalType('int', $object->getDate()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Comment', $object->setDate($expectedDate)); $this->assertEquals($expectedDate, $object->getDate()); $this->assertInternalType('int', $object->getDate()); }