public void testShowSuggestionsEmpty() {
SuggestBox box = createSuggestBox();
DefaultSuggestionDisplay display = (DefaultSuggestionDisplay) box.getSuggestionDisplay();
// Show null suggestions.
display.showSuggestions(box, null, false, true, NULL_CALLBACK);
assertFalse(display.isSuggestionListShowing());
// Show empty suggestions.
List<Suggestion> suggestions = createSuggestions();
display.showSuggestions(box, suggestions, false, true, NULL_CALLBACK);