FairyRingClue extends ClueScroll implements TextClueScroll, LocationClueScroll { public static FairyRingClue forText(String text) { for (FairyRingClue clue : CLUES) { if (clue.text.equalsIgnoreCase(text)) { return clue; } } return null; } private  FairyRingClue(String text, WorldPoint location); @Override void makeOverlayHint(PanelComponent panelComponent, ClueScrollPlugin plugin); @Override void makeWorldOverlayHint(Graphics2D graphics, ClueScrollPlugin plugin); static FairyRingClue forText(String text);  }
@Test public void forTextEmptyString() { assertNull(FairyRingClue.forText("")); }