ModelBuilder.UnitTests.IgnoreRuleTests.ThrowsExceptionWhenCreatedWithWhiteSpaceNameTest C# (CSharp) Méthode

ThrowsExceptionWhenCreatedWithWhiteSpaceNameTest() private méthode

private ThrowsExceptionWhenCreatedWithWhiteSpaceNameTest ( ) : void
Résultat void
        public void ThrowsExceptionWhenCreatedWithWhiteSpaceNameTest()
        {
            Action action = () => new IgnoreRule(typeof (string), "  ");

            action.ShouldThrow<ArgumentException>();
        }
    }