Implemented a WebClientStub to simplify the unit-test