Esempio n. 1
0
 public function testClearAll()
 {
     $this->auth->clearAll();
     $this->assertEquals(count($this->auth->getRoles()), 0);
     $this->assertEquals(count($this->auth->getOperations()), 0);
     $this->assertEquals(count($this->auth->getTasks()), 0);
     $this->assertEquals(count($this->auth->getItems()), 0);
     $this->assertEquals(count($this->auth->getAssignments('author B')), 0);
 }