AuthTests.BasicTests.Add_basic_credential_to_cache C# (CSharp) Method

Add_basic_credential_to_cache() private method

private Add_basic_credential_to_cache ( ) : void
return void
        public void Add_basic_credential_to_cache()
        {
            var cache = new HttpCredentialCache
            {
                new BasicCredentials(new Uri("http://example.org"), username: "", password: "")
            };

            Assert.Equal(1, cache.Count());
        }