public function testDatetime() { $this->assertEmpty($this->reservation->getDatetime()); $this->reservation->setDatetime($this->datetime); $this->assertEquals($this->datetime, $this->reservation->getDatetime()); }
/** * @covers AppBundle\Entity\Reservation::getDatetime * Implement testGetDatetime(). */ public function testGetDatetime() { $this->assertEquals("15-11-2015T12:30:00", $this->reservation->getDatetime()); }