public void Can_Add_And_Remove_Null_Blade_To_List() { var list = new BladeList {null}; Assert.IsNotEmpty(list); list.Remove(null); Assert.IsEmpty(list); }
public void Can_Add_And_Remove_Valid_Blade_To_List() { Blade blade = new MockBlade(); var list = new BladeList {blade}; Assert.IsNotEmpty(list); list.Remove(blade); Assert.IsEmpty(list); }
public void Can_Add_And_Remove_Null_Blade_To_List() { var list = new BladeList { null }; Assert.IsNotEmpty(list); list.Remove(null); Assert.IsEmpty(list); }
public void Can_Add_And_Remove_Valid_Blade_To_List() { Blade blade = new MockBlade(); var list = new BladeList { blade }; Assert.IsNotEmpty(list); list.Remove(blade); Assert.IsEmpty(list); }