Mocking the remote connection, preventing dependency issues.