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

TestServiceConnectionForCloseAsync.cs
using System.Threading.Tasks;
using Microsoft.Azure.SignalR.Protocol;
using Microsoft.Azure.SignalR.Tests.Common;

namespace Microsoft.Azure.SignalR.Tests
{
    internal clast TestServiceConnectionForCloseAsync : TestServiceConnection
    {
        public TestServiceConnectionForCloseAsync() : base(ServiceConnectionStatus.Connected, false)
        {
        }

        /**
         * Register an outgoing Task.
         */
        protected override Task OnClientConnectedAsync(OpenConnectionMessage openConnectionMessage)
        {
            return Task.CompletedTask;
        }
    }
}