UpgradeCatalog230 extends AbstractUpgradeCatalog { @Override public String getTargetVersion() { return "2.3.0"; } @Inject  UpgradeCatalog230(Injector injector); @Override String getSourceVersion(); @Override String getTargetVersion();  }
@Test public void testGetTargetVersion() throws Exception { UpgradeCatalog upgradeCatalog = injector.getInstance(UpgradeCatalog230.class); Assert.assertEquals("2.3.0", upgradeCatalog.getTargetVersion()); }