Acl\Test\TestCase\Auth\ActionsAuthorizeTest::setUp PHP Method

setUp() public method

setUp
public setUp ( ) : void
return void
    public function setUp()
    {
        parent::setUp();
        $this->controller = $this->getMockBuilder('Cake\\Controller\\Controller')->disableOriginalConstructor()->getMock();
        $this->Acl = $this->getMockBuilder('Acl\\Controller\\Component\\AclComponent')->disableOriginalConstructor()->getMock();
        $this->Collection = $this->getMockBuilder('Cake\\Controller\\ComponentRegistry')->getMock();
        $this->auth = new ActionsAuthorize($this->Collection);
        $this->auth->config('actionPath', '/controllers');
    }