public function testGetSetCancellationDateString() { $expected = date(OPGDateFormat::getDateFormat()); $this->assertEmpty($this->poa->getCancellationDateString()); $this->assertTrue($this->poa->setCancellationDateString($expected) instanceof PowerOfAttorney); $this->assertEquals($expected, $this->poa->getCancellationDateString()); }