MAMModule extends DefaultDiscoAwareModule implements ServerInfoRequestListener { @Override public String getVersion() { return "0.6.3"; }  @Override void initialize(ServerRuntimeContext serverRuntimeContext); @Override String getName(); @Override String getVersion(); @Override List<InfoElement> getServerInfosFor(InfoRequest request); @Override List<StanzaHandlerInterceptor> getStanzaHandlerInterceptors();  }
@Test public void versionMustBeProvided() { Assert.assertNotNull(tested.getVersion()); }