Verifies that a specific endpoint was called.
bool wasCalled(String endpointId) { return requests.any((r) => r.endpointId == endpointId); }