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

AddTypeCreatorThrowsExceptionWithNullCompilerTest() private method

private AddTypeCreatorThrowsExceptionWithNullCompilerTest ( ) : void
return void
        public void AddTypeCreatorThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

            Action action = () => target.AddTypeCreator<DefaultTypeCreator>();

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests