diff --git a/src/entity/user/User.php b/src/entity/user/User.php new file mode 100644 index 0000000..257344a --- /dev/null +++ b/src/entity/user/User.php @@ -0,0 +1,33 @@ +user = new User(); + $this->user->setName(self::NAME); + $this->user->setEmail(self::EMAIL); + $this->user->setPasswordHash(self::HASH); + } + + public function testName():void{ + $this->assertEquals(self::NAME, $this->user->getName()); + } + + public function testEmail():void{ + $this->assertEquals(self::EMAIL, $this->user->getEmail()); + } + + public function testHash():void{ + $this->assertEquals(self::HASH, $this->user->getPasswordHash()); + } + +} +