SpringHadoopAdminBannerProvider extends DefaultBannerProvider implements CommandMarker { public String getVersion() { return "1.0.0"; }  @CliCommand(value = { "version" }, help = "Displays current CLI version") String getBanner(); String getVersion(); String getWelcomeMessage(); @Override String name();  }
@Test public void testGetVersion() { String version = bannerProvider.getVersion(); Assert.assertNotNull(version); }