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

SetConstructorResolverWithResolverThrowsExceptionWithNullCompilerTest() 개인적인 메소드

        public void SetConstructorResolverWithResolverThrowsExceptionWithNullCompilerTest()
        {
            var resolver = new DefaultConstructorResolver();

            IBuildStrategyCompiler target = null;

            Action action = () => target.SetConstructorResolver(resolver);

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests