StackFormation\Tests\ProfileManagerTest::testInvalidProfile PHP Метод

testInvalidProfile() публичный Метод

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