public void MSCPSWS_S01_TC03_ClaimTypes_ValidProviderName()
{
// Call the helper method to get all claims providers.
SPProviderHierarchyTree[] responseOfGetHierarchyAllResult = TestSuiteBase.GetAllProviders();
foreach (SPProviderHierarchyTree provider in responseOfGetHierarchyAllResult)
{
ArrayOfString providerNames = new ArrayOfString();
providerNames.Add(provider.ProviderName);
// Call ClaimTypes method to get claim types with valid providerNames in the request.
ArrayOfString responseOfClaimTypesResult = CPSWSAdapter.ClaimTypes(providerNames);
Site.Assert.IsNotNull(responseOfClaimTypesResult, "If the providerNames is a valid providerNames, the protocol server MUST use the current available claims providers.");
// Call GetClaimTypesResultBySutAdapter method to get claim types with valid providerNames in the request.
ArrayOfString getClaimTypesResultBySutAdapter = GetClaimTypesResultBySutAdapter(providerNames);
Site.Assert.IsTrue(this.VerificationSutResultsAndProResults(responseOfClaimTypesResult, getClaimTypesResultBySutAdapter), "The claim types returned by the protocol and script should be equal.");
}
}