@Test public void suitableFor_should_return_false_when_export_name_is_null() { boolean result = this.sut.suitableFor(null); Assertions.assertThat(result).isFalse(); }
public boolean suitableFor(String exportName) { if (null == exportName) { return false; } return exportName.equals(this.getId()); }
Exporter { public boolean suitableFor(String exportName) { if (null == exportName) { return false; } return exportName.equals(this.getId()); } }
Exporter { public boolean suitableFor(String exportName) { if (null == exportName) { return false; } return exportName.equals(this.getId()); }  }
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(); }
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();  }