public function testInvalidProfile() { chdir(FIXTURE_ROOT . 'ProfileManager/fixture_basic'); $this->setExpectedException('Exception', 'Invalid profile: invalidProfile'); $this->profileManager->getClient('CloudFormation', 'invalidProfile'); }