@Test public void convertTest() { UserGoal userGoal = ModelUtils.getCustomUserGoal(); UserGoalResponseDto expected = UserGoalResponseDto.builder() .id(userGoal.getId()) .status(userGoal.getStatus()) .build(); assertEquals(expected, userGoalResponseDtoMapper.convert(userGoal)); }
@Override public UserGoalResponseDto convert(UserGoal userGoal) { return UserGoalResponseDto.builder() .id(userGoal.getId()) .status(userGoal.getStatus()) .build(); }
UserGoalResponseDtoMapper extends AbstractConverter<UserGoal, UserGoalResponseDto> { @Override public UserGoalResponseDto convert(UserGoal userGoal) { return UserGoalResponseDto.builder() .id(userGoal.getId()) .status(userGoal.getStatus()) .build(); } }
UserGoalResponseDtoMapper extends AbstractConverter<UserGoal, UserGoalResponseDto> { @Override public UserGoalResponseDto convert(UserGoal userGoal) { return UserGoalResponseDto.builder() .id(userGoal.getId()) .status(userGoal.getStatus()) .build(); }  }
UserGoalResponseDtoMapper extends AbstractConverter<UserGoal, UserGoalResponseDto> { @Override public UserGoalResponseDto convert(UserGoal userGoal) { return UserGoalResponseDto.builder() .id(userGoal.getId()) .status(userGoal.getStatus()) .build(); }  @Override UserGoalResponseDto convert(UserGoal userGoal); }
UserGoalResponseDtoMapper extends AbstractConverter<UserGoal, UserGoalResponseDto> { @Override public UserGoalResponseDto convert(UserGoal userGoal) { return UserGoalResponseDto.builder() .id(userGoal.getId()) .status(userGoal.getStatus()) .build(); }  @Override UserGoalResponseDto convert(UserGoal userGoal);  }