### Question:
AdminUserMapper implements DataMapper<AdminUser, AdminUserDto> { @Override public AdminUserDto mapEntityToDto(AdminUser input) { AdminUserDto output = new AdminUserDto(); output.setId(input.getId()); logger.info("Mapped AdminUser (id: {}) to AdminUserDto.", input.getId()); return output; }  @Override AdminUser mapDtoToEntity(AdminUserDto input); @Override AdminUserDto mapEntityToDto(AdminUser input); @Override Collection<AdminUser> mapDtosToEntities(Collection<AdminUserDto> input); @Override Collection<AdminUserDto> mapEntitiesToDtos(Collection<AdminUser> input);  }### Answer:
@Test public void mapEntityToDto_expectAllMapped() { adminUser.setId(UUID.randomUUID()); adminUserDto = adminUserMapper.mapEntityToDto(adminUser); assertMapped(adminUser, adminUserDto); }