Exemplo n.º 1
0
		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");
		}
Exemplo n.º 2
0
		public void ShouldSerializeGroupNamesEmpty ()
		{
			var g = new ConcreteGroupDescription ();
			Assert.IsFalse (g.ShouldSerializeGroupNames (), "#A1");
		}
Exemplo n.º 3
0
		public void ShouldSerializeGroupNames ()
		{
			var g = new ConcreteGroupDescription ();
			g.GroupNames.Add ("name");
			Assert.IsTrue (g.ShouldSerializeGroupNames (), "#A1");
		}