public <V> V run(Callable<V> testCallable) throws Exception {
    try {
      beforeRun();
      return testCallable.call();
    } finally {
      afterRun();
      restoreOriginal();
    }
  }
public < V > V run ( Callable < V > testCallable ) throws Exception { try { beforeRun ( ) ; return testCallable . call ( ) ; } finally { afterRun ( ) ; restoreOriginal ( ) ; } }
Run the test callable restoring the original EbeanServer afterwards.