1 instantiation of MockHubConnectionContext
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\HubConnectionContextUtils.cs (1)
39
return new
MockHubConnectionContext
(connection, contextOptions, NullLoggerFactory.Instance);
4 references to MockHubConnectionContext
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
ScaleoutHubLifetimeManagerTests.cs (3)
361
var
connectionMock = HubConnectionContextUtils.CreateMock(client.Connection);
385
var
connectionMock = HubConnectionContextUtils.CreateMock(client1.Connection);
387
var
connection1 = connectionMock;
src\SignalR\common\testassets\Tests.Utils\HubConnectionContextUtils.cs (1)
31
public static
MockHubConnectionContext
CreateMock(ConnectionContext connection)