private PasswordResetToken newPasswordResetToken(User user) { String id = mockValues.nextId(); String token = mockValues.nextUUID().toString(); PasswordResetToken passwordResetToken = new PasswordResetToken(token, user); passwordResetToken.setPasswordResetTokenId(id); return passwordResetToken; }
public TurnosDeTrabajoEntity newTurnosDeTrabajoEntity() { Integer idturnosDeTrabajo = mockValues.nextInteger(); TurnosDeTrabajoEntity turnosDeTrabajoEntity = new TurnosDeTrabajoEntity(); turnosDeTrabajoEntity.setIdturnosDeTrabajo(idturnosDeTrabajo); return turnosDeTrabajoEntity; }
public Synopsis newSynopsis() { Integer bookId = mockValues.nextInteger(); Synopsis synopsis = new Synopsis(); synopsis.setBookId(bookId); return synopsis; }
public Mascota newMascota() { Integer idMascota = mockValues.nextInteger(); Mascota mascota = new Mascota(); mascota.setIdMascota(idMascota); return mascota; }
public RouteLinkEntity newRouteLinkEntity() { Integer rolId = mockValues.nextInteger(); RouteLinkEntity routeLinkEntity = new RouteLinkEntity(); routeLinkEntity.setRolId(rolId); return routeLinkEntity; }