ConfigFacade extends MBeanSupport implements ConfigFacadeMBean { @Override public String getVersion() { if (version == null) { version = Objects.getVersion(getClass(), "io.hawt", "hawtio-core"); } return version; }  static ConfigFacade getSingleton(); @Override void init(); @Override String getVersion(); File getConfigDirectory(); @Override String getConfigDir(); void setConfigDir(String configDir); InputStream openURL(String url); URLHandler getUrlHandler(String protocol); void addUrlHandler(String protocol, URLHandler handler); void removeUrlHandler(String protocol);  }
@Test public void testHasVersion() throws Exception { String version = facade.getVersion(); System.out.println("Has version: " + version); }