PluginLoaderVisitor implements IPluginLoaderVisitor<String> { @Override public void pluginLoadingFail(final String str, final Throwable e) { }  @Override void pluginLoadingFail(final String str, final Throwable e); @Override void packageLoadingFail(final String str, final Throwable e); @Override void pluginLoadingSuccess(final String str); @Override void packageLoadingSuccess(final String str);  }
@Test public void checkPluginLoadingFail() { IPluginLoaderVisitor<String> visitor = new PluginLoaderVisitor<>(); visitor.pluginLoadingFail("", new Exception()); }