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