public function testLoadProfile() { chdir(FIXTURE_ROOT . 'ProfileManager/fixture_basic'); putenv("AWS_DEFAULT_REGION=eu-west-1"); $cfnClient = $this->profileManager->getClient('CloudFormation', 'test1'); $credentials = $cfnClient->getCredentials()->wait(true); $this->assertEquals('TESTACCESSKEY1', $credentials->getAccessKeyId()); $this->assertEquals('TESTSECRETKEY1', $credentials->getSecretKey()); }