public void ShouldReturnGroupIds() { CkanClient client = CkanApiHelper.GetCkanClient(); List <string> groups = client.GetGroupIds(); Console.WriteLine("Groups found: {0}", groups.Count); Assert.NotEmpty(groups); }
public void ShouldReturnGroupByIdAndName() { CkanClient client = CkanApiHelper.GetCkanClient(); List <string> groups = client.GetGroupIds(); Group group = client.GetGroup(groups[0]); Assert.NotNull(group); group = client.GetGroup(group.Name); Assert.NotNull(group); }