@Test
  public void testRemoveAdminHandlers() {
    UpgradeCatalog270 upgradeCatalog270 = createMockBuilder(UpgradeCatalog270.class)
            .createMock();

    replay(upgradeCatalog270);

    String updated = upgradeCatalog270.removeAdminHandlers("<requestHandler name=\"/admin/\"\n" +
            "                  class=\"solr.admin.AdminHandlers\"/>");

    assertThat(updated, is(""));
    verify(upgradeCatalog270);
  }
@return sample JSON data from repo_version data (no repositories defined) where 'OperatingSystems/ambari_managed_repositories' is missing
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog270Test.java