### Question:
BindingPropertyConverter { public static Binding wbFromDMN(final org.kie.dmn.model.api.Binding dmn, final BiConsumer<String, HasComponentWidths> hasComponentWidthsConsumer) { if (dmn == null) { return null; } final InformationItem convertedParameter = InformationItemPropertyConverter.wbFromDMN(dmn.getParameter()); final Expression convertedExpression = ExpressionPropertyConverter.wbFromDMN(dmn.getExpression(), hasComponentWidthsConsumer); final Binding result = new Binding(); if (convertedParameter != null) { convertedParameter.setParent(result); } result.setParameter(convertedParameter); if (convertedExpression != null) { convertedExpression.setParent(result); } result.setExpression(convertedExpression); return result; }  static Binding wbFromDMN(final org.kie.dmn.model.api.Binding dmn,
                                    final BiConsumer<String, HasComponentWidths> hasComponentWidthsConsumer); static org.kie.dmn.model.api.Binding dmnFromWB(final Binding wb,
                                                          final Consumer<ComponentWidths> componentWidthsConsumer);  }### Answer:
@Test public void testWBFromDMN() { final org.kie.dmn.model.api.Binding dmn = new TBinding(); final org.kie.dmn.model.api.InformationItem informationItem = new TInformationItem(); dmn.setParameter(informationItem); final org.kie.dmn.model.api.LiteralExpression literalExpression = new TLiteralExpression(); literalExpression.setId(EXPRESSION_UUID); dmn.setExpression(literalExpression); final Binding wb = BindingPropertyConverter.wbFromDMN(dmn, hasComponentWidthsConsumer); assertThat(wb).isNotNull(); assertThat(wb.getParameter()).isNotNull(); assertThat(wb.getExpression()).isNotNull(); assertThat(wb.getExpression().getId().getValue()).isEqualTo(EXPRESSION_UUID); verify(hasComponentWidthsConsumer).accept(eq(EXPRESSION_UUID), hasComponentWidthsCaptor.capture()); final HasComponentWidths hasComponentWidths = hasComponentWidthsCaptor.getValue(); assertThat(hasComponentWidths).isNotNull(); assertThat(hasComponentWidths).isEqualTo(wb.getExpression()); }