System.Net.Http.OnSendingHeadersTests.Using_TestServer_then_should_have_2_cookies C# (CSharp) Method

Using_TestServer_then_should_have_2_cookies() private method

private Using_TestServer_then_should_have_2_cookies ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task Using_TestServer_then_should_have_2_cookies()
        {
            var testServer = TestServer.Create(a1 => a1.Run(ctx => _appFunc(ctx.Environment)));
            using (var client = testServer.HttpClient)
            {
                var response = await client.GetAsync(_uri);

                response.Headers.GetValues("Set-Cookie")
                    .Count()
                    .ShouldBe(2);
            }
        }
    }