/** * @test */ public function expirationDateCanBeSetNull() { $this->account->setExpirationDate(new \DateTime()); $this->account->setExpirationDate(NULL); $this->assertEquals(NULL, $this->account->getExpirationDate()); }
/** * {@inheritDoc} */ public function getExpirationDate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpirationDate', array()); return parent::getExpirationDate(); }