+ [Test]
+ public void NullZero ()
+ {
+ StringValidator v = new StringValidator (0);
+
+ v.Validate (null);
+ }
+
+ [Test]
+ [ExpectedException (typeof (ArgumentException))]
+ public void Null ()
+ {
+ StringValidator v = new StringValidator (1);
+
+ v.Validate (null);
+ }
+