### Question:
ResolverUtil { public void setClassLoader(ClassLoader classloader) { this.classloader = classloader; }  Set<Class<? extends T>> getClasses(); ClassLoader getClassLoader(); void setClassLoader(ClassLoader classloader); ResolverUtil<T> findImplementations(Class<?> parent, String... packageNames); ResolverUtil<T> findAnnotated(Class<? extends Annotation> annotation, String... packageNames); ResolverUtil<T> find(Test test, String packageName);  }### Answer:
@Test void setClassLoader() { ResolverUtil resolverUtil = new ResolverUtil(); AccessController.doPrivileged((PrivilegedAction<Void>) () -> { resolverUtil.setClassLoader(new ClassLoader() { }); return null; }); assertNotEquals(resolverUtil.getClassLoader(), currentContextClassLoader); }