PHP Class Kraken\_Unit\Network\Http\Driver\HttpDriverTest

Inheritance: extends Kraken\Test\TUnit
Show file Open project: kraken-php/framework

Public Methods

Method Description
createDriver ( ) : HttpDriver
createReader ( string[] | null $methods = [] ) : HttpDriver | PHPUnit_Framework_MockObject_MockObject
testApiConstructor_CreatesInstance ( )
testApiDestructor_DoesNotThrowException ( )
testApiReadRequest_CallsMethodOnModel ( )
testApiReadResponse_CallsMethodOnModel ( )

Method Details

createDriver() public method

public createDriver ( ) : HttpDriver
return Kraken\Network\Http\Driver\HttpDriver

createReader() public method

public createReader ( string[] | null $methods = [] ) : HttpDriver | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
return Kraken\Network\Http\Driver\HttpDriver | PHPUnit_Framework_MockObject_MockObject

testApiConstructor_CreatesInstance() public method

testApiDestructor_DoesNotThrowException() public method

testApiReadRequest_CallsMethodOnModel() public method

testApiReadResponse_CallsMethodOnModel() public method