@Test
public void compatibleDatasetsList() throws Exception {

    when().get("/datasets/{id}/compatibledatasets", "1").then().statusCode(HttpStatus.OK.value()).body(
            equalTo("[]"));
    String dataSetId = createCSVDataSet(this.getClass().getResourceAsStream(T_SHIRT_100_CSV), "ds-19");
    String dataSetId2 = createCSVDataSet(this.getClass().getResourceAsStream(T_SHIRT_100_CSV), "ds-18");
    String dataSetId3 = createCSVDataSet(this.getClass().getResourceAsStream(TAGADA_CSV), "ds-17");
    // when
    final String compatibleDatasetList = when().get("/datasets/{id}/compatibledatasets", dataSetId).asString();
    // then
    Assert.assertTrue(compatibleDatasetList.contains(dataSetId2));
    assertFalse(compatibleDatasetList.contains(dataSetId3));
}