public function testSetInvoiceTime() { $this->assertNotNull($this->invoice); $date = new \DateTime(); $this->invoice->setInvoiceTime($date); $this->assertSame($date, $this->invoice->getInvoiceTime()); }