### Question:
Plugin implements IPlugin { @Override public ClassLoader getClassLoader() { return this.classLoader; } Plugin(Path path, ClassLoader classLoader, Manifest manifest); @Override Path getPath(); @Override ClassLoader getClassLoader(); @Override String getUniqueName(); @Override String getDisplayName(); @Override String getVersion(); @Override String getDescription(); @Override Manifest getManifest();  }### Answer:
@Test void testClassLoader() { ClassLoader classLoader = mock(ClassLoader.class); Plugin p = new Plugin(null, classLoader, null); assertThat("Wrong class loader", p.getClassLoader(), is(theInstance(classLoader))); }