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');
}