public void RemoveAll__An_Array_Can_Remove_All_Items() { var animals = new IAnimal[] { _dog, _dog, _cat, _fish }; animals.RemoveAll(ref animals, _dog); Assert.IsTrue(!animals.Contains(_dog)); }