Ejemplo n.º 1
0
 /**
  * @depends testGetUserByUsername
  */
 public function testGetAllUsers()
 {
     $passwd = new Passwd($this->passwd, $this->group);
     $users = $passwd->getAllUsers();
     /**
      * Because we know that we are getting valid data per-user we just need
      * to make sure we're getting back the correct number of users, we can
      * assume they're all correct within the return
      */
     $this->assertEquals(18, count($users));
 }