public void ListDeletedUnifiedGroups() { if (string.IsNullOrEmpty(_accessToken)) { Assert.Inconclusive("Access token could not be retrieved, so skipping this test"); } var results = UnifiedGroupsUtility.ListDeletedUnifiedGroups(_accessToken); Assert.IsTrue(results.Count > 0); }
protected override void ExecuteCmdlet() { UnifiedGroupEntity group = null; List <UnifiedGroupEntity> groups = null; if (Identity != null) { group = Identity.GetDeletedGroup(AccessToken); } else { groups = UnifiedGroupsUtility.ListDeletedUnifiedGroups(AccessToken); } if (group != null) { WriteObject(group); } else if (groups != null) { WriteObject(groups, true); } }
public void ListDeletedUnifiedGroups() { var results = UnifiedGroupsUtility.ListDeletedUnifiedGroups(_accessToken); Assert.IsTrue(results.Count > 0); }