Custom mocking system for simulating network requests