Properties

$app

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

Type

MockInterface

$config

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

Type

MockInterface

$route

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

Type

MockInterface

Methods

testSimpleRequest()

testSimpleRequest() : mixed

Returns

mixed —

testOptionsRequest()

testOptionsRequest() : mixed

Returns

mixed —

testAllowCrossDomain()

testAllowCrossDomain() : mixed

Returns

mixed —

testControllerDispatch()

testControllerDispatch() : mixed

Returns

mixed —

testEmptyControllerDispatch()

testEmptyControllerDispatch() : mixed

Returns

mixed —

testControllerWithMiddleware()

testControllerWithMiddleware() : mixed

Returns

mixed —

testUrlDispatch()

testUrlDispatch() : mixed

Returns

mixed —

testRedirectDispatch()

testRedirectDispatch() : mixed

Returns

mixed —

testViewDispatch()

testViewDispatch() : mixed

Returns

mixed —

testResponseDispatch()

testResponseDispatch() : mixed

Returns

mixed —

testDomainBindResponse()

testDomainBindResponse() : mixed

Returns

mixed —

prepareApp()

prepareApp() : mixed

Returns

mixed —

tearDown()

tearDown() : void

setUp()

setUp() : mixed

Returns

mixed —

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(mixed  $times = 1) : mixed

Parameters

mixed $times

Returns

mixed —