public void GetCommandAttributes_UsesCommandAttributesIfAvailable() { // Arrange var command = new MockCommandWithCommandAttributes(); // Act and Assert Assert.AreEqual(command.CommandAttribute.CommandName, "NameFromAttribute"); Assert.AreEqual(command.CommandAttribute.Description, "DescFromAttribute"); }
public void GetCommandAttributes_UsesCommandAttributesIfAvailable() { // Arrange var command = new MockCommandWithCommandAttributes(); // Act and Assert Assert.Equal(command.CommandAttribute.CommandName, "NameFromAttribute"); Assert.Equal(command.CommandAttribute.Description, "DescFromAttribute"); }