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 => 478var metricsContext = TestContextFactory.CreateMetricsContext(_mockConnectionContext.Object); 484_mockConnectionContext.Setup(x => x.Features).Returns(features); 487connectionContext: _mockConnectionContext.Object, 609_mockConnectionContext.Object, 611TestContextFactory.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();