Added more test cases for routing and changed findRoute signature so that it receives the whole request and not only the resource for routing. This helps later for a more complete/complex routing where the HTTP method and content type is added to the routing process.
Added more test cases for routing and changed findRoute signature so that it receives the whole request and not only the resource for routing. This helps later for a more complete/complex routing where the HTTP method and content type is added to the routing process.