AecuServiceMBeanImpl extends AnnotatedStandardMBean implements AecuServiceMBean { @Override public String getVersion() { return aecuService.getVersion(); } AecuServiceMBeanImpl(); @Override String getVersion(); @Override List<String> getFiles(String path); @Override String execute(String path); @Override String executeWithHistory(String path); @Override String getHistory(int start, int count);  }
@Test public void getVersion() { String version = bean.getVersion(); assertEquals("1", version); }