Elgg\ActionsServiceTest::testCanUnregisterActions PHP Method

testCanUnregisterActions() public method

public testCanUnregisterActions ( $actions )
    public function testCanUnregisterActions($actions)
    {
        $this->assertTrue($actions->unregister('test/output'));
        $this->assertTrue($actions->unregister('test/non_ex_file'));
        $this->assertFalse($actions->unregister('test/not_registered'));
        $this->assertFalse($actions->exists('test/output'));
        $this->assertFalse($actions->exists('test/non_ex_file'));
        $this->assertFalse($actions->exists('test/not_registered'));
    }
ActionsServiceTest