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

    // TODO inlcude table with sharded collections
    TableName tableName = new TableName(DB_NAME, TABLE_NAME);
    TableMetadata tableMetadata = mock(TableMetadata.class);
    when(tableMetadata.getName()).thenReturn(tableName);
    mongoMetadataEngine.createTable(tableMetadata, connection);
    verify(tableMetadata, times(1)).getName();
    verify(tableMetadata, times(1)).getOptions();
}