private User createUser(String email, GlobalRole role) {
        return User.builder()
                   .email(email)
                   .firstName("firstName")
                   .lastName("lastName")
                   .password(encoder.encode("1234567890"))
                   .guid(UUID.randomUUID().toString())
                   .accountNonExpired(true)
                   .accountNonLocked(true)
                   .credentialsNonExpired(true)
                   .allowStatistics(true)
                   .globalRole(role)
                   .build();
    }
Method inserts new app/model before subject insert.

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