@Test
public void alterTable() throws Exception {

  when(metaStoreClient.getTable(DATABASE, TABLE)).thenReturn(table);
  when(hiveTableStrategy.alterHiveTable(any(Table.class), any(Schema.class), anyInt())).thenReturn(table);
  underTest.alterTable(TABLE, schema, 1);
  verify(hiveTableStrategy).alterHiveTable(table, schema, 1);
  verify(metaStoreClient).alter_table(DATABASE, TABLE, table);
}