@Test(expected = MetaStoreException.class)
public void tableExists_shouldWrapTException() throws Exception {

  doThrow(TException.class).when(metaStoreClient).tableExists(DATABASE, TABLE);
  underTest.tableExists(TABLE);
}