public function setUp()
{
$describeStackResourcesResult = new \Aws\Result(json_decode(file_get_contents(FIXTURE_ROOT . 'Stack/test-stack1.describeStackResources.json'), true));
$this->cfnClientMock = $this->getMock('\\Aws\\CloudFormation\\CloudFormationClient', ['describeStackResources'], [], '', false);
$this->cfnClientMock->method('describeStackResources')->with(['StackName' => 'test-stack1'])->willReturn($describeStackResourcesResult);
$data = file_get_contents(FIXTURE_ROOT . 'Stack/test-stack1.json');
$data = json_decode($data, true);
$this->stack = new \StackFormation\Stack($data, $this->cfnClientMock);
}