/** @test */ function it_should_have_a_first_name() { $user = new \PlatziPHP\User('*****@*****.**', '1234'); $user->setName('Guido', 'Woda'); $name = $user->getFirstName(); $this->assertEquals('Guido', $name); }
/** @test */ function it_should_have_a_fisrt_name() { $user = new \PlatziPHP\User('*****@*****.**', '123'); $user->setName('jesus', 'herrera'); $name = $user->getFirstName(); $this->assertEquals('jesus', $name); }
/** @test */ function it_should_have_a_first_name() { $user = new \PlatziPHP\User('*****@*****.**', 'platzi'); $user->setName('jair', 'revilla'); $name = $user->getFirstName(); $this->assertEquals('jair', $name); }
/** @test */ function it_should_have_a_first_name() { $user = new \PlatziPHP\User('*****@*****.**', '1234'); $user->setName('Hector', 'Flores'); $name = $user->getFirstName(); $this->assertEquals('Hector', $name); }
public function test_it_should_have_a_first_name() { $user = new \PlatziPHP\User('*****@*****.**', '12345'); $user->setName('alexander', 'montaña'); $this->assertEquals("alexander", $user->getFirstName()); }