@Test public void convertTest() { AddEcoNewsCommentDtoRequest addEcoNewsCommentDtoRequest = ModelUtils.getAddEcoNewsCommentDtoRequest(); EcoNewsComment actual = mapper.convert(addEcoNewsCommentDtoRequest); assertEquals(expected.getText(), actual.getText()); }
@Override protected EcoNewsComment convert(AddEcoNewsCommentDtoRequest addEcoNewsCommentDtoRequest) { return EcoNewsComment.builder() .text(addEcoNewsCommentDtoRequest.getText()) .build(); }
AddEcoNewsCommentDtoRequestMapper extends AbstractConverter<AddEcoNewsCommentDtoRequest, EcoNewsComment> { @Override protected EcoNewsComment convert(AddEcoNewsCommentDtoRequest addEcoNewsCommentDtoRequest) { return EcoNewsComment.builder() .text(addEcoNewsCommentDtoRequest.getText()) .build(); } }
AddEcoNewsCommentDtoRequestMapper extends AbstractConverter<AddEcoNewsCommentDtoRequest, EcoNewsComment> { @Override protected EcoNewsComment convert(AddEcoNewsCommentDtoRequest addEcoNewsCommentDtoRequest) { return EcoNewsComment.builder() .text(addEcoNewsCommentDtoRequest.getText()) .build(); }  }
AddEcoNewsCommentDtoRequestMapper extends AbstractConverter<AddEcoNewsCommentDtoRequest, EcoNewsComment> { @Override protected EcoNewsComment convert(AddEcoNewsCommentDtoRequest addEcoNewsCommentDtoRequest) { return EcoNewsComment.builder() .text(addEcoNewsCommentDtoRequest.getText()) .build(); }   }
AddEcoNewsCommentDtoRequestMapper extends AbstractConverter<AddEcoNewsCommentDtoRequest, EcoNewsComment> { @Override protected EcoNewsComment convert(AddEcoNewsCommentDtoRequest addEcoNewsCommentDtoRequest) { return EcoNewsComment.builder() .text(addEcoNewsCommentDtoRequest.getText()) .build(); }    }