@Test public void testWbDescriptionFromDMN() { final String description = "description"; final Description expectedDescription = new Description(description); final org.kie.dmn.model.api.ItemDefinition dmn = mock(org.kie.dmn.model.api.ItemDefinition.class); when(dmn.getDescription()).thenReturn(description); final Description actualDescription = wbDescriptionFromDMN(dmn); assertEquals(expectedDescription, actualDescription); }
static Description wbDescriptionFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { return DescriptionPropertyConverter.wbFromDMN(dmn.getDescription()); }
ItemDefinitionPropertyConverter { static Description wbDescriptionFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { return DescriptionPropertyConverter.wbFromDMN(dmn.getDescription()); } }
ItemDefinitionPropertyConverter { static Description wbDescriptionFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { return DescriptionPropertyConverter.wbFromDMN(dmn.getDescription()); }  }
ItemDefinitionPropertyConverter { static Description wbDescriptionFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { return DescriptionPropertyConverter.wbFromDMN(dmn.getDescription()); }  static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn); static org.kie.dmn.model.api.ItemDefinition dmnFromWB(final ItemDefinition wb); }
ItemDefinitionPropertyConverter { static Description wbDescriptionFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { return DescriptionPropertyConverter.wbFromDMN(dmn.getDescription()); }  static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn); static org.kie.dmn.model.api.ItemDefinition dmnFromWB(final ItemDefinition wb);  }