AcAuthorityTest::assertCan PHP Method

assertCan() protected method

Helpers
protected assertCan ( $action, $resource, $resourceValue = null, $authority = null )
    protected function assertCan($action, $resource, $resourceValue = null, $authority = null)
    {
        $authority = $authority ?: $this->authority;
        $this->assertTrue($authority->can($action, $resource, $resourceValue));
    }