private ThrowsExceptionWhenCreatedWithNullFunctionTest ( ) : void | ||
return | void |
public void ThrowsExceptionWhenCreatedWithNullFunctionTest()
{
var priority = Environment.TickCount;
Action action = () => new ExecuteOrderRule(null, priority);
action.ShouldThrow<ArgumentNullException>();
}