public function setUp()
 {
     parent::setUp();
     $this->newUser = u::createUser();
     $this->us = $this->jc->userService();
     $this->us->addOrUpdateUser($this->newUser);
 }
 public function setUp()
 {
     parent::setUp();
     $this->newUser = u::createUser();
     $this->attr = new Attribute('Gender', 'Robot');
     $this->attr2 = new Attribute('Favorite Beer', 'Anchor Steam');
     $this->us = $this->jc->userService();
     $this->us->addOrUpdateUser($this->newUser);
 }
 public function setUp()
 {
     parent::setUp();
     $this->jcSuper = new Client($this->bootstrap['hostname'], $this->bootstrap['super_username'], $this->bootstrap['super_password']);
     $this->testFolder = u::createFolder();
     $this->testUser = u::createUser();
     $this->jc->repositoryService()->createResource($this->testFolder, "/", true);
     $this->jc->userService()->addOrUpdateUser($this->testUser);
     $this->ps = $this->jc->permissionService();
     $this->us = $this->jc->userService();
     $this->super_ps = $this->jcSuper->permissionService();
     $this->testPermission = new RepositoryPermission($this->testFolder->uri, "user:/" . $this->testUser->tenantId . "/" . $this->testUser->username, '32');
 }