public void TestUsage() { TestAction autoAction = new TestAction(() => DummyAction(), "Executes dummy action"); Assert.AreEqual("Executes dummy action", autoAction.GetUsage()); TestAction manualAction = new TestAction(true, KeyCode.A, () => DummyAction(), "Executes dummy action"); Assert.AreEqual($"[KeyCode({KeyCode.A})] : Executes dummy action", manualAction.GetUsage()); TestAction bothAction = new TestAction(true, KeyCode.A, () => DummyAction(), "Executes dummy action"); Assert.AreEqual($"[KeyCode({KeyCode.A})] : Executes dummy action", bothAction.GetUsage()); }