PHP Class GuzzleContext

Inheritance: implements Behat\Behat\Context\Context
显示文件 Open project: sroze/tolerance

Public Methods

Method Description
__construct ( HookableMiddlewareFactory $hookableMiddlewareFactory, Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty\ApiClient $apiClient )
iSendARequestToTheRdPartyApi ( )
theRdPartyApiWillFail ( )
theRdPartyApiWillSucceed ( )
theSentRequestShouldContainAnHeader ( $header )

Method Details

__construct() public method

public __construct ( HookableMiddlewareFactory $hookableMiddlewareFactory, Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty\ApiClient $apiClient )
$hookableMiddlewareFactory Tolerance\Bridge\Guzzle\HookableMiddlewareFactory
$apiClient Tolerance\Bridge\Symfony\Bundle\AppBundle\ThirdParty\ApiClient

iSendARequestToTheRdPartyApi() public method

theRdPartyApiWillFail() public method

theRdPartyApiWillSucceed() public method

theSentRequestShouldContainAnHeader() public method