public void ProvideValueInconsistent3 () { var x = new ArrayExtension (new int [] {1, 3}); x.AddText ("test"); x.ProvideValue (null); }
public void AddTextInconsistent () { var x = new ArrayExtension (new int [] {1, 3}); Assert.AreEqual (typeof (int), x.Type, "#1"); x.AddText ("test"); x.AddText (null); // allowed Assert.AreEqual (4, x.Items.Count); Assert.AreEqual (typeof (int), x.Type, "#2"); }