public function testUser()
 {
     $this->assertEmpty($this->reservation->getUser());
     $this->reservation->setUser($this->user);
     $this->assertEquals($this->user, $this->reservation->getUser());
 }
예제 #2
0
 /**
  * @covers AppBundle\Entity\Reservation::getUser
  * Implement testGetUser().
  */
 public function testGetUser()
 {
     $this->assertEmpty($this->reservation->getUser());
 }