MonitorSessionManager { public void setMonitored(String httpid) { httpids.add(httpid); }  void setMonitored(String httpid); void unsetMonitored(String httpid); boolean isMonitored(String httpid);  }
@Test public void testSetMonitored() { System.out.println("setMonitored"); String httpid = "NO"; boolean monitored = instance.isMonitored(httpid); assertThat(monitored).isFalse(); monitored = instance.isMonitored(null); assertThat(monitored).isFalse(); httpid = "YES"; instance.setMonitored(httpid); monitored = instance.isMonitored(httpid); assertThat(monitored).isTrue(); instance.unsetMonitored(httpid); monitored = instance.isMonitored(httpid); assertThat(monitored).isFalse(); }