@Test
public void should_get_content_from_coma_csv() throws Exception {

    // given
    final String dataSetId = given()
            .body(IOUtils.toString(this.getClass().getResourceAsStream(TAGADA2_CSV), UTF_8))
            .queryParam("Content-Type", "text/csv")
            .when()
            .post("/datasets")
            .asString();
    assertQueueMessages(dataSetId);
    // when
    final InputStream content = when().get("/datasets/{id}/content?metadata=false", dataSetId).asInputStream();
    // then
    final String contentAsString = IOUtils.toString(content, UTF_8);
    final InputStream expected = this.getClass().getResourceAsStream("../content/test1.json");
    assertThat(contentAsString, sameJSONAsFile(expected));
}