@Override
  public Object resolveParameter(ParameterContext parameterContext, ExtensionContext context)
      throws ParameterResolutionException {
    assert daemon != null;
    return daemon;
  }
A JUnit Jupiter extension providing ready to use {@link LlapDaemon} for the duration of a test when the test method
has a parameter of the respective type.

A new daemon is created before each test and destroyed afterwards. The daemons rely on various static constructs so
we cannot have many in the same JVM. If there are many {@link LlapDaemon} parameters in the same test method the same
object is returned for all of them.

The class is thread-safe but there cannot be two tests using LLAP daemons concurrently for the reasons mentioned
previously.
llap-server/src/test/org/apache/hadoop/hive/llap/daemon/LlapDaemonExtension.java