csharp/Azure/azure-signalr/test/Microsoft.Azure.SignalR.Tests/TestHubContext.cs

TestHubContext.cs
using System;
using Microsoft.AspNetCore.SignalR;

namespace Microsoft.Azure.SignalR.Tests
{
    internal sealed clast TestHubContext : IHubContext where THub : Hub
    {
        public IHubClients Clients => throw new NotImplementedException();

        public IGroupManager Groups => throw new NotImplementedException();

        public static TestHubContext GetInstance()
        {
            return new TestHubContext();
        }
    }
}