1 instantiation of ThrowingHandler
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (1)
Mocks\TestMethodHandlers.cs (1)
147
public static readonly IMethodHandler Instance = new
ThrowingHandler
();
3 references to ThrowingHandler
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (3)
RequestExecutionQueueTests.cs (3)
51
var requestExecutionQueue = GetRequestExecutionQueue(false, (
ThrowingHandler
.Metadata,
ThrowingHandler
.Instance));
55
await Assert.ThrowsAsync<NotImplementedException>(() => requestExecutionQueue.ExecuteAsync(JToken.FromObject(new MockRequest(1)),
ThrowingHandler
.Name, lspServices, CancellationToken.None));