TextInstructions { public static String capitalizeFirstLetter(String text) { return text.substring(0, 1).toUpperCase() + text.substring(1); } TextInstructions(String language, String version); TokenizedInstructionHook getTokenizedInstructionHook(); void setTokenizedInstructionHook(TokenizedInstructionHook tokenizedInstructionHook); JsonObject getRootObject(); JsonObject getVersionObject(); static String capitalizeFirstLetter(String text); String ordinalize(Integer number); String directionFromDegree(Double degree); String laneConfig(LegStep step); String compile(LegStep step);  }
@Test public void testCapitalizeFirstLetter() { assertEquals("Mapbox", TextInstructions.capitalizeFirstLetter("mapbox")); }