public void AddValueGeneratorThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.AddValueGenerator<StringValueGenerator>(); action.ShouldThrow<ArgumentNullException>(); }