/**
  * @expectedException \Opg\Common\Model\Entity\Exception\InvalidDateFormatException
  */
 public function testGetSetCancellationDateStringFails()
 {
     $expected = 'Invalid date';
     $this->assertEmpty($this->poa->getCancellationDate());
     $this->assertTrue($this->poa->setCancellationDateString($expected) instanceof PowerOfAttorney);
 }