public void InvalidCtorTest() { ExpectedException.AssertThrows <ArgumentException>(() => new RuleMetadata(_createDelegate, _options, false)); }