@Test public void testGetTargetVersion() throws Exception { final DBAccessor dbAccessor = createNiceMock(DBAccessor.class); UpgradeCatalog upgradeCatalog = getUpgradeCatalog(dbAccessor); Assert.assertEquals("2.0.0", upgradeCatalog.getTargetVersion()); }
@Override public String getTargetVersion() { return "2.0.0"; }
UpgradeCatalog200 extends AbstractUpgradeCatalog { @Override public String getTargetVersion() { return "2.0.0"; } }
UpgradeCatalog200 extends AbstractUpgradeCatalog { @Override public String getTargetVersion() { return "2.0.0"; } @Inject  UpgradeCatalog200(Injector injector); }
UpgradeCatalog200 extends AbstractUpgradeCatalog { @Override public String getTargetVersion() { return "2.0.0"; } @Inject  UpgradeCatalog200(Injector injector); @Override String getTargetVersion(); @Override void executePreDMLUpdates(); }
UpgradeCatalog200 extends AbstractUpgradeCatalog { @Override public String getTargetVersion() { return "2.0.0"; } @Inject  UpgradeCatalog200(Injector injector); @Override String getTargetVersion(); @Override void executePreDMLUpdates();  }