@Test
public void testGetTableWithNoDocument() throws Exception {

    TableFieldMapping request = new TableFieldMapping(TestUtils.TEST_TABLE_NAME, new HashSet<FieldTypeMapping>());
    TableFieldMapping response = client().resource(String.format("/v1/tables/%s/fields", TestUtils.TEST_TABLE_NAME))
            .get(TableFieldMapping.class);
    assertEquals(request.getTable(), response.getTable());
    assertTrue(request.getMappings().equals(response.getMappings()));
}