public void ClearRemovesEntriesFromTheList()
        {
            var allowList = new AllowList();

            allowList.Add("Scunthorpe");
            allowList.Add("Penistone");

            Assert.AreEqual(2, allowList.Count);

            allowList.Clear();

            Assert.AreEqual(0, allowList.Count);
        }
Exemplo n.º 2
0
 internal void ClearAllowList()
 {
     AllowList.Clear();
 }