public void ClearTest() { var collection = new ActionCollection(); var action = new MockAction("name", collection); Assert.That(collection.Contains("name")); collection.Clear(); Assert.That(collection.Contains("name") == false); }
public void ContainsActionTest1() { var collection = new ActionCollection(); var action = new MockAction("name", collection); Assert.That(collection.Contains("name")); }
public void ContainsActionTest2() { var collection = new ActionCollection(); var action = new MockAction(); action.NameId = "name"; collection.Add(action); Assert.That(collection.Contains("name")); }