public void ThrowsExceptionWhenCreatedWithEmptyNameTest() { Action action = () => new IgnoreRule(typeof (string), string.Empty); action.ShouldThrow<ArgumentException>(); }