### Question:
UpgradeCatalog274 extends AbstractUpgradeCatalog { @Override protected void executeDDLUpdates() throws AmbariException, SQLException { upgradeConfigurationTableValueMaxSize(); } @Inject  UpgradeCatalog274(Injector injector); @Override String getSourceVersion(); @Override String getTargetVersion();  }### Answer:
@Test public void testExecuteDDLUpdates() throws Exception { DBAccessor.DBColumnInfo dbColumnInfo = new DBAccessor.DBColumnInfo(AMBARI_CONFIGURATION_PROPERTY_VALUE_COLUMN, String.class, 2000); final Capture<DBAccessor.DBColumnInfo> alterPropertyValueColumnCapture = newCapture(CaptureType.ALL); dbAccessor.getColumnInfo(eq(AMBARI_CONFIGURATION_TABLE), eq(AMBARI_CONFIGURATION_PROPERTY_VALUE_COLUMN)); expectLastCall().andReturn(dbColumnInfo).once(); dbAccessor.alterColumn(eq(AMBARI_CONFIGURATION_TABLE), capture(alterPropertyValueColumnCapture)); expectLastCall().once(); replay(dbAccessor, injector); UpgradeCatalog274 upgradeCatalog274 = new UpgradeCatalog274(injector); upgradeCatalog274.dbAccessor = dbAccessor; upgradeCatalog274.executeDDLUpdates(); final DBAccessor.DBColumnInfo alterPropertyValueColumn = alterPropertyValueColumnCapture.getValue(); Assert.assertEquals(AMBARI_CONFIGURATION_PROPERTY_VALUE_COLUMN, alterPropertyValueColumn.getName()); Assert.assertEquals(String.class, alterPropertyValueColumn.getType()); Assert.assertEquals(AMBARI_CONFIGURATION_PROPERTY_VALUE_COLUMN_LEN, alterPropertyValueColumn.getLength()); verify(dbAccessor); }