@Test(
      groups = {"wso2.am"},
      description = "Test availability of tiers in API Manage Page before change tiers XML",
      dependsOnMethods = "testAvailabilityOfTiersInPermissionPageBeforeChangeTiersXML")
  public void testAvailabilityOfTiersInAPIManagePageBeforeChangeTiersXML()
      throws APIManagerIntegrationTestException {

    HttpResponse tierManagePageHttpResponse =
        apiPublisherClientUser1.getAPIManagePage(API_NAME, providerName, API_VERSION_1_0_0);
    assertEquals(
        tierManagePageHttpResponse.getResponseCode(),
        HTTP_RESPONSE_CODE_OK,
        "Response code mismatched when invoke to get Tier Permission Page");
    assertTrue(
        tierManagePageHttpResponse.getData().contains(TIER_MANAGE_PAGE_TIER_GOLD),
        "default tier  Gold is not available in Tier Permission page before  add new tear in tiers.xml");
    assertFalse(
        tierManagePageHttpResponse.getData().contains(TIER_MANAGE_PAGE_TIER_PLATINUM),
        "new tier Platinum available in Tier Permission page before  add new tear in tiers.xml");
  }