Scalr\Tests\Service\AwsTestCase::getFixtureFileContent PHP Method

getFixtureFileContent() public method

Gets fixture file content
public getFixtureFileContent ( string $filename ) : string
$filename string A fixture file name
return string Returns fixture file content
    public function getFixtureFileContent($filename)
    {
        $path = $this->getFixtureFilePath($filename);
        if (!file_exists($path)) {
            throw new \RuntimeException('Could not find the file ' . $path);
        }
        return file_get_contents($path);
    }