public void AddTriggerOfNonExistingCommand() { Assert.Throws <CommandList.CommandDoesNotExist>( () => commandList.AddTrigger("Jump", MouseButton.Left, State.Pressed)); CheckStatusOfEmptyList(); }