public void ReturnsAnonymousForAnonymousActionWhenDescribing() { var testee = new ArgumentLessActionHolder(() => { }); var description = testee.Describe(); description .Should() .Be("anonymous"); }
public void ReturnsFunctionNameForNonAnonymousActionWhenDescribing() { var testee = new ArgumentLessActionHolder(Action); var description = testee.Describe(); description .Should() .Be("Action"); }