@Test
public void saveTable() throws Exception {

    doNothing().when(metadataManager)
            .save(any(Table.class));
    doNothing().when(dataStore)
            .initializeTable(any(Table.class), anyBoolean());
    doNothing().when(queryStore)
            .initializeTable(any(String.class));
    Table table = new Table();
    table.setName("abcd");
    table.setTtl(10);
    tableManager.save(table);
}