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

SetConstructorResolverThrowsExceptionWithNullCompilerTest() private method

        public void SetConstructorResolverThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

            Action action = () => target.SetConstructorResolver<DefaultConstructorResolver>();

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests