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