public function grant($permission) { $commandClass = $this->getCommandClass('grant'); $this->command = new $commandClass($permission); return $this->command; }
public function testGrantCredentials() { $query = new Query(); $query->grant('READ')->to('reader')->on('Address'); $this->assertHttpStatus(200, $this->doQuery($query)); }