PHP 클래스 Tebru\Retrofit\Test\Feature\Context\FeatureContext

저자: Nate Brunette ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: tebru/retrofit-php

공개 메소드들

메소드 설명
iCreateAUser ( $type, $format )
iCreateAUserOptionally ( )
iCreateAUserWithoutAllFields ( )
iGetAUser ( )
iGetAUserAndReceiveAMockApiResponse ( )
iGetAUserAndReceiveARawResponse ( )
iGetAUserAndReceiveARetrofitResponse ( )
iGetAUserAndReceiveAnArrayResponse ( )
iGetAUserAsynchronously ( )
iGetAUserById ( )
iGetAUserByName ( )
iGetAUserByNameAndAge ( )
iGetAUserByNameAndLimit1 ( )
iGetAUserWithDifferentBaseUrl ( )
iGetAUserWithFrenchLanguage ( )
iUploadAnAvatar ( $format, $type )
theResponseValidates ( )

비공개 메소드들

메소드 설명
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 ( )

메소드 상세

iCreateAUser() 공개 메소드

public iCreateAUser ( $type, $format )

iCreateAUserOptionally() 공개 메소드

iCreateAUserWithoutAllFields() 공개 메소드

iGetAUser() 공개 메소드

public iGetAUser ( )

iGetAUserAndReceiveAMockApiResponse() 공개 메소드

iGetAUserAndReceiveARawResponse() 공개 메소드

iGetAUserAndReceiveARetrofitResponse() 공개 메소드

iGetAUserAndReceiveAnArrayResponse() 공개 메소드

iGetAUserAsynchronously() 공개 메소드

iGetAUserById() 공개 메소드

public iGetAUserById ( )

iGetAUserByName() 공개 메소드

public iGetAUserByName ( )

iGetAUserByNameAndAge() 공개 메소드

iGetAUserByNameAndLimit1() 공개 메소드

iGetAUserWithDifferentBaseUrl() 공개 메소드

iGetAUserWithFrenchLanguage() 공개 메소드

iUploadAnAvatar() 공개 메소드

public iUploadAnAvatar ( $format, $type )

theResponseValidates() 공개 메소드