Tests.Inventorytest.DropAItem C# (CSharp) Method

DropAItem() private method

private DropAItem ( ) : void
return void
        public void DropAItem()
        {
            var weakBlade = new LongSword();
            var it = new List<IItems>();
            
            it.Remove(weakBlade);
            
            Assert.That(!it.Any(x => string.Equals("Longsword", x.Name)));
        }