HotColdClue extends ClueScroll implements LocationClueScroll, LocationsClueScroll, TextClueScroll, NpcClueScroll { public static HotColdClue forText(String text) { if (BEGINNER_CLUE.text.equalsIgnoreCase(text)) { BEGINNER_CLUE.reset(); return BEGINNER_CLUE; } else if (MASTER_CLUE.text.equalsIgnoreCase(text)) { MASTER_CLUE.reset(); return MASTER_CLUE; } else if (MASTER_CLUE_LEAGUE.text.equalsIgnoreCase(text)) { MASTER_CLUE_LEAGUE.reset(); return MASTER_CLUE_LEAGUE; } return null; } private  HotColdClue(String text, String npc, String solution, WorldPoint npcLocation); static HotColdClue forText(String text); @Override WorldPoint[] getLocations(); @Override void makeOverlayHint(PanelComponent panelComponent, ClueScrollPlugin plugin); @Override void makeWorldOverlayHint(Graphics2D graphics, ClueScrollPlugin plugin); boolean update(final String message, final ClueScrollPlugin plugin); @Override void reset(); String[] getNpcs();  }
@Test public void forTextEmptyString() { assertNull(HotColdClue.forText("")); }