public function testSetEffectiveDate() { $date = new \DateTime(); $this->payout->setEffectiveDate($date); $this->assertNotNull($this->payout->getEffectiveDate()); $this->assertSame($date, $this->payout->getEffectiveDate()); }