PHP Class AwsInspector\Tests\Helper\CurlTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: aoepeople/stackformation

Public Methods

Method 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 method

doRequestThrowsExceptionIfReturnVarIsTrue() public method

exceptionUsingAssocArray() public method

getCurlCommandIncludesHeaderOption() public method

getCurlObject() public method

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

getResponseBodyReturnsAlsoTheRestOfInvalidHeaderData() public method

getResponseBodyReturnsExpectedValue() public method

getResponseCodeReturnsExpectedCode() public method

getResponseCodeThrowsExceptionIfResponseCodeNotFound() public method

getResponseHeaderReturnsExpectedHeader() public method

getResponseHeaderThrowsExceptionIfHeaderNotFound() public method

getResponseHeadersReturnsExpectedHeaderArray() public method

getResponseHeadersReturnsExpectedHeaderArrayWithNestedArray() public method

getResponseStatusReturnsExpectedStatus() public method

parseHeaderThrowsExceptionIfColonIsMissing() public method