getUsersAccessFromSite() public méthode

If a user doesn't have any access to the $idSite ('noaccess'), the user will not be in the returned array.
public getUsersAccessFromSite ( integer $idSite ) : array
$idSite integer website ID
Résultat array The returned array has the format array( login1 => 'view', login2 => 'admin', login3 => 'view', ... )
 /**
  * @expectedException \Exception
  */
 public function testGetUsersAccessFromSiteWrongIdSite()
 {
     $this->api->getUsersAccessFromSite(1);
 }