public void setMaxApps(int max) {
    maxApps.set(max);
  }
@Test
  public void testSetMaxApps() {
    FSQueueMetrics metrics = setupMetrics(RESOURCE_NAME);
    metrics.setMaxApps(25);
    assertEquals(getErrorMessage("maxApps"), 25L, metrics.getMaxApps());
  }