SkillChallengeClue extends ClueScroll implements NpcClueScroll, NamedObjectClueScroll { public static SkillChallengeClue forText(String text, String rawText) { for (SkillChallengeClue clue : CLUES) { if (rawText.equalsIgnoreCase(clue.returnText)) { clue.setChallengeCompleted(true); return clue; } else if (text.equals(clue.rawChallenge)) { clue.setChallengeCompleted(false); return clue; } } return null; } private  SkillChallengeClue(String challenge, String rawChallenge, String returnText, SingleItemRequirement returnItem, ItemRequirement ... itemRequirements); private  SkillChallengeClue(String challenge, ItemRequirement ... itemRequirements); private  SkillChallengeClue(String challenge, String[] objectNames, int[] objectRegions, ItemRequirement ... itemRequirements); private  SkillChallengeClue(String challenge, boolean requireEquip, ItemRequirement ... itemRequirements); private  SkillChallengeClue(String challenge, String rawChallenge, ItemRequirement ... itemRequirements); private  SkillChallengeClue(String challenge, String rawChallenge, boolean requireEquip, ItemRequirement ... itemRequirements); private  SkillChallengeClue(String challenge, String rawChallenge, boolean requireEquip, String[] objectNames, int[] objectRegions, ItemRequirement ... itemRequirements); @Override void makeOverlayHint(PanelComponent panelComponent, ClueScrollPlugin plugin); @Override void makeWorldOverlayHint(Graphics2D graphics, ClueScrollPlugin plugin); static SkillChallengeClue forText(String text, String rawText); @Override String[] getNpcs();  }
@Test public void forTextEmptyString() { assertNull(SkillChallengeClue.forText("", "")); }