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