### Question:
GoalDtoMapper extends AbstractConverter<GoalTranslation, GoalDto> { @Override protected GoalDto convert(GoalTranslation goalTranslation) { return new GoalDto(goalTranslation.getGoal().getId(), goalTranslation.getText()); }    }### Answer:
@Test public void convertTest() { GoalTranslation goalTranslation = ModelUtils.getGoalTranslation(); GoalDto expected = new GoalDto(goalTranslation.getGoal().getId(), goalTranslation.getText()); assertEquals(expected, goalDtoMapper.convert(goalTranslation)); }