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

SetConstructorResolverWithResolverThrowsExceptionWithNullCompilerTest() private method

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

            IBuildStrategyCompiler target = null;

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

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests