CliRenderer implements AutoCloseable { @Override public void close() throws Exception { if (physicalResourceLoader != null){ physicalResourceLoader.close(); } if (cliTrigger != null){ cliTrigger.close(); } return; } CliRenderer(DataBroker dataBroker); @Override void close();  }
@Test public void testClose() throws Exception { cliRenderer.close(); Assert.assertNotNull(cliRenderer); }