public void TestSetNameCommand() { string name = "This is a test name"; Command cmd = new CommandTest(name); Assert.AreEqual(name, cmd.Name); }
public void TestInheritedNameCommand() { Command cmd = new CommandTest(); Assert.AreEqual(nameof(CommandTest), cmd.Name); }