ModelBuilder.UnitTests.BuildStrategyCompilerExtensionsTests.RemoveValueGeneratorThrowsExceptionWithNullCompilerTest C# (CSharp) Method

RemoveValueGeneratorThrowsExceptionWithNullCompilerTest() private method

        public void RemoveValueGeneratorThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

            Action action = () => target.RemoveValueGenerator<StringValueGenerator>();

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests