메소드 | 설명 | |
---|---|---|
getAwsClassName ( string $suffix ) : string | Gets Aws class name | |
getAwsMock ( ) : |
Gets an Aws mock | |
getCloudFrontClassName ( string $suffix ) : string | Gets CloudFront class name | |
getContainer ( ) : |
Gets DI Container | |
getEc2ClassName ( string $suffix ) : string | Gets Ec2 class name | |
getEnvironment ( ) : Scalr_Environment | Gets Environment | |
getFixtureFileContent ( string $filename ) : string | Gets fixture file content | |
getFixtureFilePath ( string $filename ) : string | Returns fixtures file path | |
getFixturesDirectory ( ) | ||
getQueryClientResponseMock ( string $body, integer $responseCode = null, |
Gets QueryClientResponse Mock. | |
getQueryClientStandartCallResponseMock ( string $method ) : Scalr\Service\Aws\Client\QueryClientResponse | Gets standart query client response mock | |
getRdsClassName ( string $suffix ) : string | Gets Rds class name | |
getRoute53ClassName ( string $suffix ) : string | Gets Route53 class name | |
getServiceInterfaceMock ( string $serviceName, Closure | callback | string $callback = null ) : Scalr\Service\Aws\ServiceInterface | Gets an service interface mock object | |
providerClientType ( ) : array | Data provider for client type tests |
메소드 | 설명 | |
---|---|---|
setUp ( ) | ||
skipIfEc2PlatformDisabled ( ) | Skips test functionals tests are skipped or if Ec2 platform is not enabled. | |
tearDown ( ) |
public getAwsClassName ( string $suffix ) : string | ||
$suffix | string | |
리턴 | string | Returns Aws class name strted with Namespace Scalr\\Service\\Aws\\ |
public getAwsMock ( ) : |
||
리턴 | Returns Aws Mock stub |
public getCloudFrontClassName ( string $suffix ) : string | ||
$suffix | string | Suffix |
리턴 | string |
public getContainer ( ) : |
||
리턴 |
public getEc2ClassName ( string $suffix ) : string | ||
$suffix | string | Suffix |
리턴 | string |
public getEnvironment ( ) : Scalr_Environment | ||
리턴 | Scalr_Environment |
public getFixtureFileContent ( string $filename ) : string | ||
$filename | string | A fixture file name |
리턴 | string | Returns fixture file content |
public getFixtureFilePath ( string $filename ) : string | ||
$filename | string | A fixture file name |
리턴 | string | Returns fixtures file path |
public getQueryClientResponseMock ( string $body, integer $responseCode = null, |
||
$body | string | |
$responseCode | integer | optional The code of the http response |
$awsStub | optional Aws mock | |
리턴 | Scalr\Service\Aws\Client\QueryClientResponse | Returns response mock object |
public getQueryClientStandartCallResponseMock ( string $method ) : Scalr\Service\Aws\Client\QueryClientResponse | ||
$method | string | AWS API action name |
리턴 | Scalr\Service\Aws\Client\QueryClientResponse | Returns QueryClientResponse Mock object |
public getRdsClassName ( string $suffix ) : string | ||
$suffix | string | Suffix |
리턴 | string |
public getRoute53ClassName ( string $suffix ) : string | ||
$suffix | string | Suffix |
리턴 | string |
public getServiceInterfaceMock ( string $serviceName, Closure | callback | string $callback = null ) : Scalr\Service\Aws\ServiceInterface | ||
$serviceName | string | Service name (Elb, CloudWatch etc..) |
$callback | Closure | callback | string | optional callback for QueryClientResponse mock |
리턴 | Scalr\Service\Aws\ServiceInterface | Returns service interface mock |
public providerClientType ( ) : array | ||
리턴 | array |
protected skipIfEc2PlatformDisabled ( ) |