private AddWithValueGeneratorThrowsExceptionWithNullRuleTest ( ) : void | ||
Résultat | void |
public void AddWithValueGeneratorThrowsExceptionWithNullRuleTest()
{
var target = Substitute.For<IBuildStrategyCompiler>();
Action action = () => target.Add((IValueGenerator) null);
action.ShouldThrow<ArgumentNullException>();
}