@Test void testManifest() { Manifest mf = mock(Manifest.class); Plugin p = new Plugin(null, null, mf); assertThat("Wrong manifest", p.getManifest(), is(mf)); }
@Override public Manifest getManifest() { return this.manifest; }
Plugin implements IPlugin { @Override public Manifest getManifest() { return this.manifest; } }
Plugin implements IPlugin { @Override public Manifest getManifest() { return this.manifest; } Plugin(Path path, ClassLoader classLoader, Manifest manifest); }
Plugin implements IPlugin { @Override public Manifest getManifest() { return this.manifest; } 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(); }
Plugin implements IPlugin { @Override public Manifest getManifest() { return this.manifest; } 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();  }