PHP Trait InterNations\Component\HttpMock\PHPUnit\HttpMockTrait

Mostra file Open project: internations/http-mock

Protected Properties

Property Type Description
$http HttpMockFacade | HttpMockFacadeMap
$staticHttp HttpMockFacade | HttpMockFacadeMap

Public Methods

Method Description
getHttpMockDefaultHost ( )
getHttpMockDefaultPort ( )

Protected Methods

Method Description
assertHttpMockSetup ( )
setUpHttpMock ( )
setUpHttpMockBeforeClass ( $port = null, $host = null, $basePath = null, $name = null )
tearDownHttpMock ( )
tearDownHttpMockAfterClass ( )

Method Details

assertHttpMockSetup() protected static method

protected static assertHttpMockSetup ( )

getHttpMockDefaultHost() public static method

public static getHttpMockDefaultHost ( )

getHttpMockDefaultPort() public static method

public static getHttpMockDefaultPort ( )

setUpHttpMock() protected method

protected setUpHttpMock ( )

setUpHttpMockBeforeClass() protected static method

protected static setUpHttpMockBeforeClass ( $port = null, $host = null, $basePath = null, $name = null )

tearDownHttpMock() protected method

protected tearDownHttpMock ( )

tearDownHttpMockAfterClass() protected static method

protected static tearDownHttpMockAfterClass ( )

Property Details

$http protected_oe property

protected HttpMockFacade,InterNations\Component\HttpMock\PHPUnit|HttpMockFacadeMap,InterNations\Component\HttpMock\PHPUnit $http
return HttpMockFacade | HttpMockFacadeMap

$staticHttp protected_oe static_oe property

protected static HttpMockFacade,InterNations\Component\HttpMock\PHPUnit|HttpMockFacadeMap,InterNations\Component\HttpMock\PHPUnit $staticHttp
return HttpMockFacade | HttpMockFacadeMap