CakeDC\Users\Test\TestCase\Auth\SimpleRbacAuthorizeTest::testConstruct PHP Метод

testConstruct() публичный Метод

public testConstruct ( )
    public function testConstruct()
    {
        //don't autoload config
        $this->simpleRbacAuthorize = new SimpleRbacAuthorize($this->registry, ['autoload_config' => false]);
        $this->assertEmpty($this->simpleRbacAuthorize->config('permissions'));
    }