@Test
  public void testByteArrayCheckNotNullOrEmpty() {
    Exception thrownEx = null;
    try {
      Utils.checkNotNullOrEmpty((byte[]) null, "Array is null");
    } catch (Exception ex) {
      thrownEx = ex;
    }
    assertTrue(thrownEx instanceof IllegalArgumentException);

    thrownEx = null;
    try {
      Utils.checkNotNullOrEmpty(new byte[0], "Array is empty");
    } catch (Exception ex) {
      thrownEx = ex;
    }
    assertTrue(thrownEx instanceof IllegalArgumentException);
  }
Tests for {@link Utils#splitString(String, String)}.
ambry-utils/src/test/java/com/github/ambry/utils/UtilsTest.java