### Question:
LiteralExpressionPMMLUIModelMapper extends LiteralExpressionUIModelMapper { @Override public void fromDMNModel(final int rowIndex, final int columnIndex) { dmnModel.get().ifPresent(literalExpression -> { uiModel.get().setCell(rowIndex, columnIndex, () -> new DMNGridCell<>(new BaseGridCellValue<>(literalExpression.getText().getValue(), placeHolder))); }); } LiteralExpressionPMMLUIModelMapper(final Supplier<GridData> uiModel,
                                              final Supplier<Optional<LiteralExpression>> dmnModel,
                                              final ListSelectorView.Presenter listSelector,
                                              final double lineHeight,
                                              final String placeHolder); @Override void fromDMNModel(final int rowIndex,
                             final int columnIndex);  }### Answer:
@Test public void testFromDmn_CellType() { mapper.fromDMNModel(0, 0); assertTrue(uiModel.getCell(0, 0) instanceof DMNGridCell); }