@Test void convertTest() { DiscountValue expected = ModelUtils.getDiscountValue(); DiscountValueDto actualDiscountValueDto = ModelUtils.getDiscountValueDto(); assertEquals(expected, discountValueMapper.convert(actualDiscountValueDto)); }
@Override protected DiscountValue convert(DiscountValueDto discountValueDto) { return DiscountValue.builder() .value(discountValueDto.getValue()) .build(); }
DiscountValueMapper extends AbstractConverter<DiscountValueDto, DiscountValue> { @Override protected DiscountValue convert(DiscountValueDto discountValueDto) { return DiscountValue.builder() .value(discountValueDto.getValue()) .build(); } }
DiscountValueMapper extends AbstractConverter<DiscountValueDto, DiscountValue> { @Override protected DiscountValue convert(DiscountValueDto discountValueDto) { return DiscountValue.builder() .value(discountValueDto.getValue()) .build(); }  }
DiscountValueMapper extends AbstractConverter<DiscountValueDto, DiscountValue> { @Override protected DiscountValue convert(DiscountValueDto discountValueDto) { return DiscountValue.builder() .value(discountValueDto.getValue()) .build(); }   }
DiscountValueMapper extends AbstractConverter<DiscountValueDto, DiscountValue> { @Override protected DiscountValue convert(DiscountValueDto discountValueDto) { return DiscountValue.builder() .value(discountValueDto.getValue()) .build(); }    }