void stubFetchState(Map<String, dynamic> Function(String url) onFetchState) { binding._onFetchState = onFetchState; }