@Test
  public void multipleErrorMessages() {
    final HttpServletRequest request =
      new MockRequestBuilder().setLimit("foo").setRegionState("bar").build();
    final MetaBrowser metaBrowser = new MetaBrowser(connection, request);
    assertThat(metaBrowser.getErrorMessages(),
      containsInAnyOrder("Requested SCAN_LIMIT value 'foo' cannot be parsed as an integer.",
        "Requested SCAN_REGION_STATE value 'bar' cannot be parsed as a RegionState."));
  }
Cluster-backed correctness tests for the functionality provided by {@link MetaBrowser}.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/http/TestMetaBrowserNoCluster.java