Writing unit tests for a RESTful Web Service