@Test
public void testGetSourceVersion() {

  final DBAccessor dbAccessor = createNiceMock(DBAccessor.class);
  final OsFamily osFamily = createNiceMock(OsFamily.class);
  Provider<EntityManager> entityManagerProvider = initEntityManagerProvider();
  replayAll();
  UpgradeCatalog upgradeCatalog = getUpgradeCatalog(dbAccessor, osFamily, entityManagerProvider.get());
  Assert.assertEquals("2.1.0", upgradeCatalog.getSourceVersion());
  verifyAll();
}