CuratorServiceGroupMonitor implements ServiceGroupMonitor { @Override public void close() throws IOException { groupCache.close(); } CuratorServiceGroupMonitor(
      PathChildrenCache groupCache,
      Predicate<String> memberSelector,
      Codec<ServiceInstance> codec); @Override void start(); @Override void close(); @Override ImmutableSet<ServiceInstance> get();  }
@Test public void testNominalLifecycle() throws Exception { startGroupMonitor(); getGroupMonitor().close(); }
@Test public void testExceptionalLifecycle() throws Exception { getGroupMonitor().close(); }