@Test
public void testGetTableWithNoDocument() throws Exception {

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