@Test
public void should_list_encodings() throws Exception {

    // then
    String json = given() //
            .expect() //
            .statusCode(200) //
            .log() //
            .ifError() //
            .when() //
            .get("/api/datasets/encodings")
            .asString();
    List<String> encodings = mapper.readValue(json, new TypeReference<List<String>>() {
    });
    assertThat(encodings.isEmpty(), is(false));
    assertThat(encodings.get(0), is("UTF-8"));
    assertThat(encodings.get(1), is("UTF-16"));
}