@Test public void testGetNullSuggestion() throws Exception { String result = suggestService.getMostLikelySuggestions("apple phone"); PostSearchAssert.assertEquals(result, null); }
@Test public void testGetMostLikelySuggestions() throws Exception { String result = suggestService.getMostLikelySuggestions("aple juize"); PostSearchAssert.assertEquals(result, "apple juice"); }