ApplicationInsights.OwinExtensions.Tests.OperationIdContextTests.Operation_Context_Flows_With_Async C# (CSharp) Method

Operation_Context_Flows_With_Async() private method

private Operation_Context_Flows_With_Async ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task Operation_Context_Flows_With_Async()
        {
            OperationIdContext.Create();
            var expected = OperationIdContext.Get();

            using (var client = new HttpClient())
                await client.GetAsync("http://google.com");

            var actual = OperationIdContext.Get();

            actual.Should().NotBeNullOrEmpty();
            actual.Should().Be(expected);
        }