@Test
  public void testStatusTemplateMetaAvailable() throws IOException {
    setupMockTables();

    new MasterStatusTmpl().setMetaLocation(ServerName.valueOf("metaserver,123,12345"))
      .render(new StringWriter(), master);
  }
Tests for the master status page and its template.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/http/TestMasterStatusServlet.java