public static ClassLoader createNewClassLoader() throws KettleException {
    try {
      // Nothing really in URL, everything is in scope.
      URL[] urls = new URL[] {};
      URLClassLoader ucl = new URLClassLoader( urls );

      return ucl;
    } catch ( Exception e ) {
      throw new KettleException( "Unexpected error during classloader creation", e );
    }
  }
@Test
  public void testCreateNewClassLoader() throws KettleException {
    ClassLoader cl = Const.createNewClassLoader();
    assertTrue( cl instanceof URLClassLoader && ( (URLClassLoader) cl ).getURLs().length == 0 );
  }