public ModelStatistic insertModelStatistic(Model model, int requestCount, final LocalDateTime createDate) {
        var statistic = ModelStatistic.builder()
                                      .createdDate(createDate)
                                      .requestCount(requestCount)
                                      .model(model)
                                      .build();
        return modelStatisticRepository.save(statistic);
    }
Method inserts new app/model before subject insert.

@param subjectName subject name
@return subject object
java/api/src/test/java/com/exadel/frs/core/trainservice/DbHelper.java