public function testGetSetCancellationDate() { $expected = new \DateTime(); $this->assertEmpty($this->poa->getCancellationDate()); $this->assertTrue($this->poa->setCancellationDate($expected) instanceof PowerOfAttorney); $this->assertEquals($expected, $this->poa->getCancellationDate()); }