PHP Class GuzzleContext

Inheritance: implements Behat\Behat\Context\Context
Afficher le fichier Open project: sroze/tolerance

Méthodes publiques

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

Method Details

__construct() public méthode

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 méthode

theRdPartyApiWillFail() public méthode

theRdPartyApiWillSucceed() public méthode

theSentRequestShouldContainAnHeader() public méthode