FaloTheBardClue extends ClueScroll implements TextClueScroll, NpcClueScroll { public static FaloTheBardClue forText(String text) { for (FaloTheBardClue clue : CLUES) { if (clue.text.equalsIgnoreCase(text)) { return clue; } } return null; } private  FaloTheBardClue(String text, @Nonnull ItemRequirement... itemRequirements); @Override void makeOverlayHint(PanelComponent panelComponent, ClueScrollPlugin plugin); @Override void makeWorldOverlayHint(Graphics2D graphics, ClueScrollPlugin plugin); @Override String[] getNpcs(); static FaloTheBardClue forText(String text);  }
@Test public void forTextEmptyString() { assertNull(FaloTheBardClue.forText("")); }