Свойство | Тип | Описание | |
---|---|---|---|
$cloudstack | CloudStack instance |
Метод | Описание | |
---|---|---|
getCloudStackClassName ( string $classSuffix ) : string | Gets full class name by its suffix after CloudStack\\ | |
getCloudStackFixtureClassName ( string $classSuffix ) : string | Gets full FIXTURE class name by its suffix after CloudStack\\ | |
getCloudStackMock ( string $serviceName = null, Closure | callback | string $callback = null ) : |
Gets an CloudStack mock | |
getContainer ( ) : |
Gets DI Container | |
getEnvironment ( ) : Environment | Gets Scalr Environment | |
getFixtureFileContent ( string $filename ) : string | Gets fixture file content | |
getFixtureFilePath ( string $filename ) : string | Returns fixtures file path | |
getFixturesDirectory ( ) | ||
getQueryClientResponseMock ( string $body, $command, integer $responseCode = null ) : QueryClientResponse | Gets QueryClientResponse Mock. | |
getServiceInterfaceMock ( string $serviceName, |
Gets an service interface mock object |
Метод | Описание | |
---|---|---|
setUp ( ) | ||
tearDown ( ) |
public getCloudStackClassName ( string $classSuffix ) : string | ||
$classSuffix | string | |
Результат | string |
public getCloudStackFixtureClassName ( string $classSuffix ) : string | ||
$classSuffix | string | |
Результат | string |
public getCloudStackMock ( string $serviceName = null, Closure | callback | string $callback = null ) : |
||
$serviceName | string | Service name (Network, Volume etc..) |
$callback | Closure | callback | string | optional callback for QueryClientResponse mock |
Результат | Returns CloudStack Mock stub |
public getContainer ( ) : |
||
Результат |
public getEnvironment ( ) : Environment | ||
Результат | 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, $command, integer $responseCode = null ) : QueryClientResponse | ||
$body | string | |
$responseCode | integer | optional The code of the http response |
Результат | QueryClientResponse | Returns response mock object |
public getServiceInterfaceMock ( string $serviceName, |
||
$serviceName | string | Service name (Network, Volume etc..) |
$csStub | CloudStack Mock stub | |
Результат | ServiceInterface | Returns service interface mock |