public void MSCPSWS_S01_TC09_EntityTypes_ValidProviderNames()
        {
            // Call the helper method to get all claims providers.
            SPProviderHierarchyTree[] responseOfGetHierarchyAllResult = TestSuiteBase.GetAllProviders();

            bool isEntityTypesSuccess = false;

            foreach (SPProviderHierarchyTree provider in responseOfGetHierarchyAllResult)
            {
                ArrayOfString providerNames = new ArrayOfString();
                providerNames.Add(provider.ProviderName);

                // Call EntityTypes method to get entity types with valid providerNames in the request.
                ArrayOfString responseOfEntityTypesResult = CPSWSAdapter.EntityTypes(providerNames);
                Site.Assert.IsNotNull(responseOfEntityTypesResult, "If the providerNames is a valid providerNames, the protocol server MUST use the current available claims providers.");

                // Call GetEntityTypesResultBySutAdapter method to get entity types with valid providerNames in the request.
                ArrayOfString getEntityTypesResultBySutAdapter = GetEntityTypesResultBySutAdapter(providerNames);
                Site.Assert.IsTrue(this.VerificationSutResultsAndProResults(responseOfEntityTypesResult, getEntityTypesResultBySutAdapter), "The entity types returned by the protocol and script should be equal.");
                isEntityTypesSuccess = true;
            }

            // If the claims providers listed in the provider names in the input message is retrieved successfully, then the following requirement can be captured.
            Site.CaptureRequirementIfIsTrue(
                isEntityTypesSuccess,
                178,
                @"[In EntityTypes] The protocol server MUST retrieve picker entity types from claims providers that meet both of the following criteria:
The claims providers are associated with the Web application (1) specified in the input message.
The claims providers are listed in the provider names in the input message.");
        }
        public void MSCPSWS_S01_TC07_EntityTypes_NullProviderNames()
        {
            // Call EntityTypes method to get entity types with a null providerNames in the request.
            ArrayOfString responseOfEntityTypesResult = CPSWSAdapter.EntityTypes(null);

            Site.Assert.IsNotNull(responseOfEntityTypesResult, "If the providerNames is NULL, the protocol server MUST use all the available claims providers.");
        }