ModelBuilder.UnitTests.IgnoreRuleTests.ThrowsExceptionWhenCreatedWithEmptyNameTest C# (CSharp) Method

ThrowsExceptionWhenCreatedWithEmptyNameTest() private method

private ThrowsExceptionWhenCreatedWithEmptyNameTest ( ) : void
return void
        public void ThrowsExceptionWhenCreatedWithEmptyNameTest()
        {
            Action action = () => new IgnoreRule(typeof (string), string.Empty);

            action.ShouldThrow<ArgumentException>();
        }