public static ParamType getVarArgsSchemaFromType(final Type type) {
    return getSchemaFromType(type, VARARGS_JAVA_TO_ARG_TYPE);
  }
@Test(expected = KsqlException.class)
  public void shouldThrowExceptionIfClassDoesntMapToSchemaVariadic() {
    UdfUtil.getVarArgsSchemaFromType(System.class);
  }