@Test
public void shouldReturnWriterWithParameter() {

    Map<String, String> parameters = new HashMap<>();
    parameters.put(CSVWriterTest.SEPARATOR_PARAM_NAME, "|");
    final TransformerWriter csvWriter = service.getWriter(CSVFormat.CSV, output, parameters);
    Assert.assertTrue(csvWriter instanceof CSVWriter);
}