public void NamesMatch () { var gd = new ConcreteGroupDescription (); var obj = new object (); Assert.IsTrue (gd.NamesMatch (obj, obj), "A1"); Assert.IsFalse (gd.NamesMatch (new object (), new object ()), "A2"); }
public void ShouldSerializeGroupNamesEmpty () { var g = new ConcreteGroupDescription (); Assert.IsFalse (g.ShouldSerializeGroupNames (), "#A1"); }
public void ShouldSerializeGroupNames () { var g = new ConcreteGroupDescription (); g.GroupNames.Add ("name"); Assert.IsTrue (g.ShouldSerializeGroupNames (), "#A1"); }