private ThrowsExceptionWithNullTargetExpressionAndTypesTest ( ) : void | ||
Результат | void |
public void ThrowsExceptionWithNullTargetExpressionAndTypesTest()
{
Action action = () => new GeneratorWrapper(null, PropertyExpression.FirstName, typeof(string));
action.ShouldThrow<ArgumentException>();
}