2 instantiations of MockHubProtocol
Microsoft.AspNetCore.SignalR.Client.Tests (2)
HubConnectionTests.cs (2)
971return new MockHubProtocol 979return new MockHubProtocol
4 references to MockHubProtocol
Microsoft.AspNetCore.SignalR.Client.Tests (4)
HubConnectionTests.cs (4)
36var hubConnection = CreateHubConnection(new TestConnection(), protocol: MockHubProtocol.Throw(exception), LoggerFactory); 51var hubConnection = CreateHubConnection(new TestConnection(), protocol: MockHubProtocol.Throw(exception), LoggerFactory); 969public static MockHubProtocol ReturnOnParse(HubInvocationMessage parsed) 977public static MockHubProtocol Throw(Exception error)