@Test
public void dropCatalogExecutionExceptionTest() throws ExecutionException, UnsupportedException {

    Mockito.doThrow(new MongoException("exception")).when(client).dropDatabase(Matchers.anyString());
    try {
        mongoMetadataEngine.dropCatalog(new CatalogName(DB_NAME), connection);
        fail("An execution exception must be thown");
    } catch (ExecutionException e) {
    }
    verify(client, times(1)).dropDatabase(Matchers.anyString());
}