@Test
public void csv() {

    // when
    final ExportFormatMessage exportFormatMessage =
            beanConversionService.convert(format, ExportFormatMessage.class);
    // then
    assertEquals("text/csv", exportFormatMessage.getMimeType());
    assertEquals("CSV", exportFormatMessage.getId());
    assertEquals("Local CSV file", exportFormatMessage.getName());
    assertEquals(true, exportFormatMessage.isNeedParameters());
    assertEquals(false, exportFormatMessage.isDefaultExport());
    assertEquals(true, exportFormatMessage.isEnabled());
    assertEquals("", exportFormatMessage.getDisableReason());
    assertEquals("Export to CSV", exportFormatMessage.getTitle());
    List<Parameter> parameters = exportFormatMessage.getParameters();
    assertNotNull(parameters);
    assertEquals(6, parameters.size());
}