@@ -0,0 +1,918 @@
+package com.github.bot.curiosone.core.extraction;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport com.github.bot.curiosone.core.nlp.Phrase;%0Aimport com.github.bot.curiosone.core.nlp.Sentence;%0A%0Aimport org.junit.Test;%0A%0Apublic class QuestionTest %7B%0A%0A  @Test%0A  public void testGetAnswer() %7B%0A    Sentence s = Sentence.extract(new Phrase(%22Who is Gogol?%22)).get(0);%0A    assertThat(Question.getAnswer(s, %22%22)).isPresent();%0A%0A    s = Sentence.extract(new Phrase(%22Where is Gogol?%22)).get(0);%0A    assertThat(Question.getAnswer(s, %22%22)).isPresent();%0A%0A    s = Sentence.extract(new Phrase(%22What is Gogol?%22)).get(0);%0A    assertThat(Question.getAnswer(s, %22%22)).isPresent();%0A%0A    s = Sentence.extract(new Phrase(%22Why is Gogol?%22)).get(0);%0A    assertThat(Question.getAnswer(s, %22%22)).isNotPresent();%0A%0A    s = Sentence.extract(new Phrase(%22When is Gogol?%22)).get(0);%0A    assertThat(Question.getAnswer(s, %22%22)).isNotPresent();%0A  %7D%0A%7D%0A

add QuestionTest