### Question:
LoadingColumn implements SelectionTableColumn<PdfDescriptorLoadingStatus>, ModuleOwned { @Override public String getTextValue(PdfDescriptorLoadingStatus item) { return (item != null && item.getIcon() != null) ? item.getIcon().toString() : ""; } LoadingColumn(String ownerModule); @Override String getOwnerModule(); @Override String getColumnTitle(); @Override ObservableValue<PdfDescriptorLoadingStatus> getObservableValue(SelectionTableRowData data); @Override String getTextValue(PdfDescriptorLoadingStatus item); @Override Callback<TableColumn<SelectionTableRowData, PdfDescriptorLoadingStatus>, TableCell<SelectionTableRowData, PdfDescriptorLoadingStatus>> cellFactory(); @Override Comparator<PdfDescriptorLoadingStatus> comparator(); @Override TableColumn<SelectionTableRowData, PdfDescriptorLoadingStatus> getTableColumn();  }### Answer:
@Test public void getNullTextValue() { assertThat(victim.getTextValue(null), isEmptyString()); }
@Test public void getTextValue() { Arrays.stream(PdfDescriptorLoadingStatus.values()).forEach(s -> { if (s.getIcon() != null) { assertEquals(s.getIcon().toString(), victim.getTextValue(s)); } else { assertEquals("", victim.getTextValue(s)); } }); }