public void SuggestedEventsTest() { CongregatioServiceClient client = new CongregatioServiceClient(); var stalked = ObjectHelpers.CreateUser("*****@*****.**"); var stalker = ObjectHelpers.CreateUser("*****@*****.**"); var stalkedHostedEvent = ObjectHelpers.CreateEvent(stalked); client.AddUser(stalked); client.AddUser(stalker); client.AddEvent(stalkedHostedEvent); stalkedHostedEvent = client.GetEventByTitle(stalkedHostedEvent.EventTitle); client.StalkUser(stalker.UserId, stalked.UserId); stalked = client.FindUserById(stalked.UserId); stalker = client.FindUserById(stalker.UserId); var events = client.SuggestedEvents(stalker.UserId); Assert.IsTrue(events.Count > 0); Assert.IsTrue(events[0].EventTitle.Equals(stalkedHostedEvent.EventTitle)); CleanUp(client, stalker, stalkedHostedEvent); }