@Test
public void testSave() throws Exception {

    Table table = new Table(TestUtils.TEST_TABLE_NAME, 30);
    client().resource("/v1/tables").type(MediaType.APPLICATION_JSON_TYPE).post(table);
    Table response = tableMetadataManager.get(table.getName());
    assertNotNull(response);
    assertEquals(table.getName(), response.getName());
    assertEquals(table.getTtl(), response.getTtl());
}