PHP Class AwsInspector\Tests\Helper\CurlTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: aoepeople/stackformation

Méthodes publiques

Méthode Description
doRequestThrowsExceptionIfOutputIsNotSet ( )
doRequestThrowsExceptionIfReturnVarIsTrue ( )
exceptionUsingAssocArray ( )
getCurlCommandIncludesHeaderOption ( )
getCurlObject ( array $output = [], array $header = [], integer $returnVar ) : Curl
getResponseBodyReturnsAlsoTheRestOfInvalidHeaderData ( )
getResponseBodyReturnsExpectedValue ( )
getResponseCodeReturnsExpectedCode ( )
getResponseCodeThrowsExceptionIfResponseCodeNotFound ( )
getResponseHeaderReturnsExpectedHeader ( )
getResponseHeaderThrowsExceptionIfHeaderNotFound ( )
getResponseHeadersReturnsExpectedHeaderArray ( )
getResponseHeadersReturnsExpectedHeaderArrayWithNestedArray ( )
getResponseStatusReturnsExpectedStatus ( )
parseHeaderThrowsExceptionIfColonIsMissing ( )

Method Details

doRequestThrowsExceptionIfOutputIsNotSet() public méthode

doRequestThrowsExceptionIfReturnVarIsTrue() public méthode

exceptionUsingAssocArray() public méthode

getCurlCommandIncludesHeaderOption() public méthode

getCurlObject() public méthode

public getCurlObject ( array $output = [], array $header = [], integer $returnVar ) : Curl
$output array
$header array
$returnVar integer
Résultat AwsInspector\Helper\Curl

getResponseBodyReturnsAlsoTheRestOfInvalidHeaderData() public méthode

getResponseBodyReturnsExpectedValue() public méthode

getResponseCodeReturnsExpectedCode() public méthode

getResponseCodeThrowsExceptionIfResponseCodeNotFound() public méthode

getResponseHeaderReturnsExpectedHeader() public méthode

getResponseHeaderThrowsExceptionIfHeaderNotFound() public méthode

getResponseHeadersReturnsExpectedHeaderArray() public méthode

getResponseHeadersReturnsExpectedHeaderArrayWithNestedArray() public méthode

getResponseStatusReturnsExpectedStatus() public méthode

parseHeaderThrowsExceptionIfColonIsMissing() public méthode