### Question:
Exporter { public boolean suitableFor(String exportName) { if (null == exportName) { return false; } return exportName.equals(this.getId()); }  abstract String getName(); abstract String getDescription(); abstract String getFormat(); byte[] generateAndEncodeB64(List<FunctionalityDTO> functionalities, Map<String,String> requiredInfos); boolean suitableFor(String exportName); final String getId(); List<ExportField> listRequiredFields();  }### Answer:
@Test public void suitableFor_should_return_false_when_export_name_is_null() { boolean result = this.sut.suitableFor(null); Assertions.assertThat(result).isFalse(); }
@Test public void suitableFor_should_check_that_export_name_is_equal_to_id() { String exportName = TEST_STR.toLowerCase().replace(" ", "_"); boolean result = this.sut.suitableFor(exportName); Assertions.assertThat(result).isTrue(); }