public void CreateActionTest() { var collection = new ActionCollection(); var action = new MockAction(); action.NameId = "someaction"; collection.Add(action); var newAction = collection.Create("someaction"); Assert.AreEqual(action.NameId, newAction.NameId); Assert.AreEqual(action.ActionStatus, newAction.ActionStatus); Assert.AreEqual(action.InCooldown, newAction.InCooldown); Assert.AreNotEqual(action, newAction); }