A framework for mocking web services