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