@Test
public void should_serialize_standard_csv() throws IOException {

    InputStream inputStream = this.getClass().getResourceAsStream("simple.csv");
    DataSetMetadata datasetMetadata = getSimpleDataSetMetadata("first name", "last name");
    InputStream input = serializer.serialize(inputStream, datasetMetadata, -1);
    String actual = IOUtils.toString(input, UTF_8);
    InputStream expected = this.getClass().getResourceAsStream("simple.csv_expected.json");
    Assert.assertThat(actual, sameJSONAsFile(expected));
}