public void ThrowsExceptionWithNullCreatorForExpressionAndCreatorConstructorTest() { Action action = () => new CreationRule(typeof(string), new Regex(".+"), 10, null); action.ShouldThrow<ArgumentNullException>(); }