### Question:
ParseUtils { public static int parseInt(String s, final int start, final int end) throws NumberFormatException { return parseSignedInt(s, start, end); }  static int parseInt(String s, final int start, final int end); static int parseSignedInt(CharSequence s, final int start, final int end); static int parseUnsignedInt(CharSequence s, final int start, final int end); static long parseSignedLong(CharSequence s, final int start, final int end); static long parseUnsignedLong(CharSequence s, final int start, final int end); static float parseFloat(String s, final int start, final int end); static long parseTimestampFromUIDString(String s, final int start, final int end); static void urlDecodeInplace(StringBuilder input); static void urlDecodeInto(CharSequence input, int start, int end, StringBuilder result); static char decodeHexPair(char c1, char c2); static final char INVALID_HEX; }### Answer:
@Test public void testParseInt() { for (int k = 0; k < NUM_TRIALS; k++) { testIntParser(random, true); testIntParser(random, false); } }
@Test(expected = NumberFormatException.class) public void testParseBadAlphaInput() { ParseUtils.parseInt("abc", 0, 3); }