PHP Class Tebru\Retrofit\Test\Feature\Context\FeatureContext

Author: Nate Brunette ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Afficher le fichier Open project: tebru/retrofit-php

Méthodes publiques

Méthode Description
iCreateAUser ( $type, $format )
iCreateAUserOptionally ( )
iCreateAUserWithoutAllFields ( )
iGetAUser ( )
iGetAUserAndReceiveAMockApiResponse ( )
iGetAUserAndReceiveARawResponse ( )
iGetAUserAndReceiveARetrofitResponse ( )
iGetAUserAndReceiveAnArrayResponse ( )
iGetAUserAsynchronously ( )
iGetAUserById ( )
iGetAUserByName ( )
iGetAUserByNameAndAge ( )
iGetAUserByNameAndLimit1 ( )
iGetAUserWithDifferentBaseUrl ( )
iGetAUserWithFrenchLanguage ( )
iUploadAnAvatar ( $format, $type )
theResponseValidates ( )

Private Methods

Méthode Description
getClient ( ) : Tebru\Retrofit\Test\Mock\ApiClient
getHeaders ( $contentType = 'application/x-www-form-urlencoded' )
setExpectations ( $method, $path, array $queryParams = [], array $headers = [], $content = [], array $files = [], array $user = [] )
validateArrayResponse ( )
validateMockApiResponse ( )

Method Details

iCreateAUser() public méthode

public iCreateAUser ( $type, $format )

iCreateAUserOptionally() public méthode

iCreateAUserWithoutAllFields() public méthode

iGetAUser() public méthode

public iGetAUser ( )

iGetAUserAndReceiveAMockApiResponse() public méthode

iGetAUserAndReceiveARawResponse() public méthode

iGetAUserAndReceiveARetrofitResponse() public méthode

iGetAUserAndReceiveAnArrayResponse() public méthode

iGetAUserAsynchronously() public méthode

iGetAUserById() public méthode

public iGetAUserById ( )

iGetAUserByName() public méthode

public iGetAUserByName ( )

iGetAUserByNameAndAge() public méthode

iGetAUserByNameAndLimit1() public méthode

iGetAUserWithDifferentBaseUrl() public méthode

iGetAUserWithFrenchLanguage() public méthode

iUploadAnAvatar() public méthode

public iUploadAnAvatar ( $format, $type )

theResponseValidates() public méthode