private ThrowsExceptionWithNullExpressionTest ( ) : void | ||
return | void |
public void ThrowsExceptionWithNullExpressionTest()
{
Action action = () => new WrapperGenerator((Regex) null);
action.ShouldThrow<ArgumentNullException>();
}