### Question:
Strings { public static ArrayList<String> split(String string, MatchPattern delimiter) { return split(string, delimiter, 0); }  static boolean isNullOrEmpty(@Nullable String string); static String toHexStringFromBytes(byte[] bytes); static byte[] toBytesFromHexString(String hexString); static byte toByteFromHexCharacter(char hexCharacter); static String toStringFromLatin1Bytes(byte[] bytes); static String toStringFromLatin1Bytes(ByteArrayRange byteArrayRange); static byte[] toLatin1BytesFromString(String string); static ArrayList<String> split(String string, MatchPattern delimiter); static ArrayList<String> split(String string, MatchPattern delimiter, int max); static ArrayList<String> split(String string, final char delimiter); static ArrayList<String> split(String string, final char delimiter, int max); static String replaceAll(String string, MatchPattern pattern, String replacement); static String replaceAll(String string, CharPredicate charPredicate, String replacement); static String replaceFirst(String string, MatchPattern pattern, String replacement); static String replaceFirst(String string, CharPredicate charPredicate, String replacement);  }### Answer:
@Test public void testSplit() { testSplit(new String[] {"a", "b", "c" }, Strings.split("a,b,c", ',')); testSplit(new String[] {"a", "b,c" }, Strings.split("a,b,c", ',', 2)); testSplit(new String[] {"a,b,c" }, Strings.split("a,b,c", ',', 1)); testSplit(new String[] {"a,b,c" }, Strings.split("a,b,c", '-', 0)); }