StackFormation\Tests\StackTest::testResourceThatDoesntExist PHP Method

testResourceThatDoesntExist() public method

    public function testResourceThatDoesntExist()
    {
        $this->setExpectedException('Exception', "Resource 'DoesNotExist' not found in stack 'test-stack1'");
        $this->stack->getResource('DoesNotExist');
    }