PHP Class Scalr\Tests\Service\Aws\CloudFrontTest

Since: 01.02.2013
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Tests\Service\AwsTestCase
Show file Open project: scalr/scalr

Public Methods

Method Description
getCloudFrontMock ( callback $callback = null ) : Scalr\Service\Aws\CloudFront Gets CloudFront Mock
getFixtureFilePath ( $filename )
getFixturesDirectory ( )
getResponseCallback ( string $method ) : Closure Gets response callback
testDescribeDistributions ( )
testFunctional ( )

Protected Methods

Method Description
setUp ( )
tearDown ( )

Method Details

getCloudFrontMock() public method

Gets CloudFront Mock
public getCloudFrontMock ( callback $callback = null ) : Scalr\Service\Aws\CloudFront
$callback callback
return Scalr\Service\Aws\CloudFront Returns Ec2 Mock class

getFixtureFilePath() public method

public getFixtureFilePath ( $filename )

getFixturesDirectory() public method

getResponseCallback() public method

Gets response callback
public getResponseCallback ( string $method ) : Closure
$method string CloudFront API method
return Closure

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testDescribeDistributions() public method

testFunctional() public method

public testFunctional ( )