public static CallbackMonitor <GraphQLHttpClient> ConfigureMonitorForOnWebsocketConnected( this GraphQLHttpClient client) { var tester = new CallbackMonitor <GraphQLHttpClient>(); client.Options.OnWebsocketConnected = c => { tester.Invoke(c); return(Task.CompletedTask); }; return(tester); }
public CallbackAssertions(CallbackMonitor <TPayload> tester) { Subject = tester; }
public CallbackAssertions(CallbackMonitor <TPayload> tester) : base(tester) { }