@Test
public void testStore() throws Exception {

    Table table = new Table();
    table.setName(TEST_TABLE);
    table.setTtl(30);
    tableMapStore.store(table.getName(), table);
    GetResponse response = elasticsearchConnection.getClient().prepareGet()
            .setIndex(TABLE_META_INDEX)
            .setType(TABLE_META_TYPE)
            .setId(table.getName())
            .execute()
            .actionGet();
    compareTables(table, mapper.readValue(response.getSourceAsBytes(), Table.class));
}