34 references to _mockConnectionContext
InMemory.FunctionalTests (34)
Http2\Http2ConnectionTests.cs (1)
5294
_mockConnectionContext
.Reset();
Http2\Http2TestBase.cs (6)
176
_mockConnectionContext
.Setup(c => c.Abort(It.IsAny<ConnectionAbortedException>())).Callback<ConnectionAbortedException>(ex =>
478
var metricsContext = TestContextFactory.CreateMetricsContext(
_mockConnectionContext
.Object);
484
_mockConnectionContext
.Setup(x => x.Features).Returns(features);
487
connectionContext:
_mockConnectionContext
.Object,
609
_mockConnectionContext
.Object,
611
TestContextFactory.CreateMetricsContext(
_mockConnectionContext
.Object));
Http2\Http2TimeoutTests.cs (27)
199
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
203
_mockConnectionContext
.VerifyNoOtherCalls();
222
_mockConnectionContext
.Verify(c => c.Abort(It.IsAny<ConnectionAbortedException>()), Times.Never);
228
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
232
_mockConnectionContext
.VerifyNoOtherCalls();
246
_mockConnectionContext
.Reset();
393
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
397
_mockConnectionContext
.VerifyNoOtherCalls();
448
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
452
_mockConnectionContext
.VerifyNoOtherCalls();
500
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
504
_mockConnectionContext
.VerifyNoOtherCalls();
554
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
558
_mockConnectionContext
.VerifyNoOtherCalls();
620
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
624
_mockConnectionContext
.VerifyNoOtherCalls();
667
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
671
_mockConnectionContext
.VerifyNoOtherCalls();
718
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
722
_mockConnectionContext
.VerifyNoOtherCalls();
785
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
789
_mockConnectionContext
.VerifyNoOtherCalls();
853
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
857
_mockConnectionContext
.VerifyNoOtherCalls();
909
_mockConnectionContext
.VerifyNoOtherCalls();
994
_mockConnectionContext
.Verify(c => c.Abort(It.Is<ConnectionAbortedException>(e =>
998
_mockConnectionContext
.VerifyNoOtherCalls();