Example #1
0
 public function testGetGroupById()
 {
     $passwd = new Passwd($this->passwd, $this->group);
     $group = $passwd->getGroupById(1000);
     $expected = ["name" => "testuser", "password" => "x", "gid" => "1000", "users" => []];
     $this->assertEquals($expected, $group);
 }