### Question:
ForgotPasswordMapper implements DataMapper<ForgotPassword, ForgotPasswordDto> { @Override public ForgotPassword mapDtoToEntity(ForgotPasswordDto input) { ForgotPassword output = new ForgotPassword(); output.setEmail(input.getEmail()); logger.debug("Mapped ForgotPasswordDto to ForgotPassword."); return output; }  @Override ForgotPassword mapDtoToEntity(ForgotPasswordDto input); @Override ForgotPasswordDto mapEntityToDto(ForgotPassword input); @Override Collection<ForgotPassword> mapDtosToEntities(Collection<ForgotPasswordDto> input); @Override Collection<ForgotPasswordDto> mapEntitiesToDtos(Collection<ForgotPassword> input);  }### Answer:
@Test public void mapDtoToEntity_expectAllMapped() { forgotPasswordDto.setEmail("test@example.com"); forgotPassword = forgotPasswordMapper.mapDtoToEntity(forgotPasswordDto); assertMapped(forgotPasswordDto, forgotPassword); }