public function testActionsAccessLevels() { $this->assertFalse($this->actions->exists('test/output')); $this->assertFalse($this->actions->exists('test/not_registered')); $this->assertTrue($this->actions->register('test/output', "{$this->actionsDir}/output.php", 'public')); $this->assertTrue($this->actions->register('test/output_logged_in', "{$this->actionsDir}/output.php", 'logged_in')); $this->assertTrue($this->actions->register('test/output_admin', "{$this->actionsDir}/output.php", 'admin')); }