Exemplo n.º 1
0
 public function testSetters()
 {
     $user = new User();
     $user->setId(self::$testData['id']);
     $user->setRole(self::$testData['role']);
     #$user->setProfile(self::$testData['profile']);
     $user->setUsername(self::$testData['username']);
     $user->setPassword(self::$testData['password']);
     $user->setEmail(self::$testData['email']);
     $user->setDateCreated(self::$testData['dateCreated']);
     $user->setLastConnect(self::$testData['lastConnect']);
     $user->setActive(self::$testData['active']);
     $user->setLocked(self::$testData['locked']);
     $this->testGetters($user);
 }