@@ -0,0 +1,1141 @@
+package com.github.bot.curiosone.core.analysis;%0A%0Aimport static com.github.bot.curiosone.core.analysis.EmotionAnalysis.getEmotion;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport com.github.bot.curiosone.core.nlp.Phrase;%0A%0Aimport org.junit.Test;%0A%0Apublic class EmotionAnalysisTest %7B%0A%0A  @Test%0A  public void testGetEmotion() %7B%0A    Phrase p = new Phrase(%22Today, I am very happy!%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22happy%22);%0A%0A    p = new Phrase(%22This sky is beautiful%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22happy%22);%0A%0A    p = new Phrase(%22I love gifts, they give joy and love...%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22happy%22);%0A%0A    p = new Phrase(%22I am angry, I hate cruelty%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22sad%22);%0A%0A    p = new Phrase(%22hate the extant bad%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22angry%22);%0A%0A    p = new Phrase(%22Are you on vacation?%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22happy%22);%0A%0A    p = new Phrase(%22Yes, this is my yacht%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22happy%22);%0A%0A    p = new Phrase(%22Do not eat that pizza...%22);%0A    assertThat(getEmotion(p)).isEqualTo(%22sad%22);%0A  %7D%0A%7D%0A

add EmotionAnalysisTest