### Question:
AddEcoNewsCommentDtoResponseMapper extends AbstractConverter<EcoNewsComment, AddEcoNewsCommentDtoResponse> { @Override protected AddEcoNewsCommentDtoResponse convert(EcoNewsComment ecoNewsComment) { User user = ecoNewsComment.getUser(); return AddEcoNewsCommentDtoResponse.builder() .id(ecoNewsComment.getId()) .modifiedDate(ecoNewsComment.getModifiedDate()) .text(ecoNewsComment.getText()) .author(EcoNewsCommentAuthorDto.builder() .id(user.getId()) .name(user.getName()) .userProfilePicturePath(user.getProfilePicturePath()) .build()) .build(); }    }### Answer:
@Test public void convertTest() { AddEcoNewsCommentDtoResponse expected = ModelUtils.getAddEcoNewsCommentDtoResponse(); AddEcoNewsCommentDtoResponse actual = mapper.convert(ecoNewsComment); assertEquals(expected.getId(), actual.getId()); assertEquals(expected.getText(), actual.getText()); assertEquals(expected.getAuthor(), actual.getAuthor()); }