ModelBuilder.UnitTests.BuildStrategyCompilerExtensionsTests.AddTypeCreatorThrowsExceptionWithNullCompilerTest C# (CSharp) Méthode

AddTypeCreatorThrowsExceptionWithNullCompilerTest() private méthode

private AddTypeCreatorThrowsExceptionWithNullCompilerTest ( ) : void
Résultat void
        public void AddTypeCreatorThrowsExceptionWithNullCompilerTest()
        {
            IBuildStrategyCompiler target = null;

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

            action.ShouldThrow<ArgumentNullException>();
        }
BuildStrategyCompilerExtensionsTests