public function testGetSetPayByCheque() { $this->assertEquals(PowerOfAttorney::PAYMENT_OPTION_NOT_SET, $this->poa->getPaymentByCheque()); $this->poa->setPaymentByCheque(PowerOfAttorney::PAYMENT_OPTION_FALSE); $this->assertEquals(PowerOfAttorney::PAYMENT_OPTION_FALSE, $this->poa->getPaymentByCheque()); $this->poa->setPaymentByCheque(PowerOfAttorney::PAYMENT_OPTION_TRUE); $this->assertEquals(PowerOfAttorney::PAYMENT_OPTION_TRUE, $this->poa->getPaymentByCheque()); $this->poa->setPaymentByCheque(); $this->assertEquals(PowerOfAttorney::PAYMENT_OPTION_NOT_SET, $this->poa->getPaymentByCheque()); }