SourceXdripPlugin extends PluginBase implements BgSourceInterface { public static SourceXdripPlugin getPlugin() { if (plugin == null) plugin = new SourceXdripPlugin(); return plugin; } private  SourceXdripPlugin(); static SourceXdripPlugin getPlugin(); @Override boolean advancedFilteringSupported(); @Override void handleNewData(Intent intent); void setSource(String source);  }
@Test public void getPlugin() { Assert.assertNotEquals(null, SourceXdripPlugin.getPlugin()); }