@Test
public void testExecuteStageDDLUpdates() throws Exception {

  final DBAccessor dbAccessor = createNiceMock(DBAccessor.class);
  dbAccessor.addColumn(eq("stage"), anyObject(DBAccessor.DBColumnInfo.class));
  expectLastCall().times(1);
  replay(dbAccessor);
  Module module = new Module() {
    @Override
    public void configure(Binder binder) {
      binder.bind(DBAccessor.class).toInstance(dbAccessor);
      binder.bind(OsFamily.class).toInstance(createNiceMock(OsFamily.class));
      binder.bind(EntityManager.class).toInstance(entityManager);
    }
  };
  Injector injector = Guice.createInjector(module);
  UpgradeCatalog220 upgradeCatalog220 = injector.getInstance(UpgradeCatalog220.class);
  upgradeCatalog220.executeStageDDLUpdates();
  verify(dbAccessor);
}