public function testRunWithNoRouting() { $this->assertException('/Could not route request/', function () { MockDispatcher::run(new Request(array('url' => '/'))); }); }