/** * A basic functional test example. * * @return void * @group prueba */ public function testTraveler() { $trv = new Traveler(); $trv->setEmail('*****@*****.**'); $trv->setAdmin(false); $trv->setPassword('123456'); $trv->setName('Traveler'); $trv->setId(2); $trv->setOwner(false); $trv->setPhone('654321987'); $trv->setSurname('Apellido2'); $this->assertEquals('*****@*****.**', $trv->getEmail()); $this->assertEquals(false, $trv->getAdmin()); $this->assertEquals('123456', $trv->getPassword()); $this->assertEquals('Traveler', $trv->getName()); $this->assertEquals(2, $trv->getId()); $this->assertEquals(false, $trv->getOwner()); $this->assertEquals('654321987', $trv->getPhone()); $this->assertEquals('Apellido2', $trv->getSurname()); }