public void MatchTest () { DataObjectMethodAttribute a1 = new DataObjectMethodAttribute (DataObjectMethodType.Fill); DataObjectMethodAttribute a2 = new DataObjectMethodAttribute (DataObjectMethodType.Delete, true); Assert.IsFalse (a1.Match (a2), "#1"); DataObjectMethodAttribute a3 = new DataObjectMethodAttribute (DataObjectMethodType.Delete); Assert.IsTrue (a2.Match (a3), "#2"); }