components/src/test/java/eu/internetofus/common/components/models/WeNetUserProfileTest.java
/**
   * Create the meanings obtained by the survey.
   *
   * @param index of the answers to create.
   *
   * @return the answers of the meanings.
   */
Create the meanings obtained by the survey.
@param index of the answers to create.

@return the answers of the meanings.
Create the meanings obtained by the survey . @param index of the answers to create . @return the answers of the meanings .
public List<Meaning> createAnswerMeanings(final int index) {
    final List<Meaning> meanings = new ArrayList<>();
    for (final var name : new String[] { "excitement", "promotion", "existence", "suprapersonal", "interactive",
        "normative" }) {
      final var meaning = new Meaning();
      meaning.category = "guiding_principles";
      meaning.name = name;
      meaning.level = 0.25 * (index % 5);
      meanings.add(meaning);
    }
    for (final var name : new String[] { "extraversion", "agreeableness", "consientiousness", "neuroticism",
        "openness" }) {
      final var meaning = new Meaning();
      meaning.category = "big_five";
      meaning.name = name;
      meaning.level = 0.25 * (index % 5);
      meanings.add(meaning);
    }
    return meanings;
  }
public List < Meaning > createAnswerMeanings ( final int index ) { final List < Meaning > meanings = new ArrayList < > ( ) ; for ( final var name : new String [ ] { "excitement" , "promotion" , "existence" , "suprapersonal" , "interactive" , "normative" } ) { final var meaning = new Meaning ( ) ; meaning . category = "guiding_principles" ; meaning . name = name ; meaning . level = 0.25 * ( index % 5 ) ; meanings . add ( meaning ) ; } for ( final var name : new String [ ] { "extraversion" , "agreeableness" , "consientiousness" , "neuroticism" , "openness" } ) { final var meaning = new Meaning ( ) ; meaning . category = "big_five" ; meaning . name = name ; meaning . level = 0.25 * ( index % 5 ) ; meanings . add ( meaning ) ; } return meanings ; }
Create the meanings obtained by the survey.
Create the meanings obtained by the survey .
// Q08a - Q08r // Q09a - Q09t