79808182838485868788
int winner = RANDOM.nextInt(3); for (int i = 0; i < 3; i++) { Long id = this.idGenerator.getAndIncrement(); DoorContent content = i == winner ? DoorContent.JUERGEN : DoorContent.SMALL_FURRY_ANIMAL; doors.add(new Door(id, content)); } return doors; }