public void ReadGroupByName() { CreateGroup(); var groups = _dao.QueryByName(groupData.Name, 0, 0); Assert.IsNotNull(groups); Assert.IsTrue(groups.Count > 0); Assert.AreEqual(groupData.Name, groups[0].Name); }