Properties

$app

$app : \think\App|\Mockery\MockInterface

Type

\think\App|\Mockery\MockInterface

$config

$config : \think\Config|\Mockery\MockInterface

Type

\think\Config|\Mockery\MockInterface

$route

$route : \think\Route|\Mockery\MockInterface

Type

\think\Route|\Mockery\MockInterface

Methods

testSimpleRequest()

testSimpleRequest() 

testOptionsRequest()

testOptionsRequest() 

testAllowCrossDomain()

testAllowCrossDomain() 

testControllerDispatch()

testControllerDispatch() 

testEmptyControllerDispatch()

testEmptyControllerDispatch() 

testControllerWithMiddleware()

testControllerWithMiddleware() 

testUrlDispatch()

testUrlDispatch() 

testRedirectDispatch()

testRedirectDispatch() 

testViewDispatch()

testViewDispatch() 

testResponseDispatch()

testResponseDispatch() 

testDomainBindResponse()

testDomainBindResponse() 

prepareApp()

prepareApp() 

tearDown()

tearDown() 

setUp()

setUp() 

makeRequest()

makeRequest(  $path, string  $method = 'GET', string  $host = 'localhost') : \Mockery\Mock|\think\Request

Parameters

$path
string $method
string $host

Returns

\Mockery\Mock|\think\Request

createMiddleware()

createMiddleware(  $times = 1) 

Parameters

$times