private AddWithValueGeneratorThrowsExceptionWithNullCompilerTest ( ) : void | ||
Résultat | void |
public void AddWithValueGeneratorThrowsExceptionWithNullCompilerTest()
{
var rule = new StringValueGenerator();
IBuildStrategyCompiler target = null;
Action action = () => target.Add(rule);
action.ShouldThrow<ArgumentNullException>();
}