public void Microsoft365EnvironmentToGraph(string graph, Microsoft365Environment env) { Assert.AreEqual(graph, CloudManager.GetMicrosoftGraphAuthority(env)); }
public void Microsoft365EnvironmentToAzureADLogin(string azureADLogin, Microsoft365Environment env) { Assert.AreEqual(azureADLogin, CloudManager.GetAzureADLoginAuthority(env)); }
public void UriToMicrosoft365Environment(string url, Microsoft365Environment expectedOutcome) { Assert.AreEqual(expectedOutcome, CloudManager.GetEnvironmentFromUri(new Uri(url))); }