ModelBuilder.UnitTests.BuildStrategyCompilerExtensionsTests.AddTypeCreatorThrowsExceptionWithNullCompilerTest C# (CSharp) 메소드

AddTypeCreatorThrowsExceptionWithNullCompilerTest() 개인적인 메소드

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

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

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests