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