public void GetGroupContactsEmptyUserIdentifier() { var core = new UserCore(); var data = this.UserData(); data.Identifier = Guid.Empty; core.GetGroups(data); }
public void GetContactGroups() { var user = this.UserData(); var random = new Random(); var count = random.Next(50); var core = new UserCore(); for (int i = 0; i < count; i++) { var c = this.Group(); c.Owner = user; core.Save(c); } var groups = core.GetGroups(user); Assert.AreEqual <int>(count, groups.Count()); }
public void GetGroupContactsNull() { var core = new UserCore(); core.GetGroups(null); }