/** * Tests the exceptions thrown by getController. * * @param string $requestUri * @param string $expectedMessage * @dataProvider getControllerExceptionData */ public function testGetControllerException($requestUri, $expectedMessage) { $this->setExpectedException('\\LmMvc\\Exception\\MalformedUriException', $expectedMessage); $this->application->getController($requestUri); }