public function testParameterThatDoesntExist() { $this->setExpectedException('Exception', "Parameter 'DoesNotExist' not found in stack 'test-stack1'"); $this->stack->getParameter('DoesNotExist'); }