CakeDC\Users\Test\TestCase\Auth\SimpleRbacAuthorizeTest::setUp PHP Method

setUp() public method

This method is called before a test is executed.
public setUp ( )
    public function setUp()
    {
        $request = new Request();
        $response = new Response();
        $this->controller = $this->getMockBuilder('Cake\\Controller\\Controller')->setMethods(null)->setConstructorArgs([$request, $response])->getMock();
        $this->registry = new ComponentRegistry($this->controller);
    }