public void GetActionText_Invalid() { Action act = () => RuleSetGenerator.GetActionText((RuleAction)(-1)); act.Should().Throw <NotSupportedException>(); }
public void GetActionText_Valid(RuleAction action, string expected) { RuleSetGenerator.GetActionText(action).Should().Be(expected); }