### Question:
AraExporter extends Exporter { @Override public byte[] generate(List<FunctionalityDTO> functionalities, Map<String, String> requiredInfos) { return MAPPER.asString(functionalities).getBytes(StandardCharsets.UTF_8); }  @Override String getName(); @Override String getDescription(); @Override String getFormat(); @Override byte[] generate(List<FunctionalityDTO> functionalities, Map<String, String> requiredInfos);  }### Answer:
@Test public void generate_should_use_ara_cartography_mapper() { final AraCartographyMapper mapper = new AraCartographyMapper(); final List<FunctionalityDTO> functionalities = new ArrayList<>(); for (int i=0; i < 10; i++) { functionalities.add(this.create_dummy_functionality(i)); } final byte[] expected = mapper.asString(functionalities).getBytes(StandardCharsets.UTF_8); byte[] actual = this.sut.generate(functionalities, null); Assertions.assertThat(actual).containsExactly(expected); }