public void Search_Law_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("law", "Artigo 1 da Constituição de 1988", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }
public void Search_State_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("state", "Governo Dilma Rousseff", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }
public void Search_Book_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("book", "política [aristóteles]", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }
public void Search_Topic_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("topic", "Tensão entre cultura e razão", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }
public void Search_Institution_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("institution", "igreja católica", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }
public void Search_Period_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("period", "Brasil da República Velha", null); Assert.IsTrue(results.Count == 1, "Tag not found.", null); }
public void Search_Area_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("area", "brasil", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }
public void Search_Library_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("library", "Biblioteca do Rafael", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }
public void Search_Skill_HappyPath() { ITopicaService service = new TopicaService(TestHelper.GetAppConfiguration()); var results = service.AutoComplete("skill", "Mitose e meiose", null); Assert.IsTrue(results.Count == 1, "Tag not found."); }