private TestVersionCandidate()

in ddm-rrm/src/it/java/com/epam/digital/data/platform/management/dto/TestVersionCandidate.java [46:56]


  private TestVersionCandidate(String subject, String topic, boolean mergeable,
      LocalDateTime created, LocalDateTime updated) {
    this.number = new Random().nextInt(Integer.MAX_VALUE);
    this.subject = Objects.isNull(subject) ? RandomString.make() : subject;
    this.topic = Objects.isNull(topic) ? RandomString.make() : topic;
    this.mergeable = mergeable;
    this.created = Objects.isNull(created) ? LocalDateTime.now() : created;
    this.updated = Objects.isNull(updated) ? LocalDateTime.now() : updated;
    this.currentRevision = RandomString.make();
    this.ref = RandomString.make();
  }