ConfigBuilderPlugin extends PluginBase { @Override protected void onStop() { super.onStop(); } ConfigBuilderPlugin(); static ConfigBuilderPlugin getPlugin(); void initialize(); void storeSettings(String from); CommandQueue getCommandQueue(); @Nullable BgSourceInterface getActiveBgSource(); @Nullable ProfileInterface getActiveProfileInterface(); @Nullable InsulinInterface getActiveInsulin(); @Nullable APSInterface getActiveAPS(); @Nullable PumpInterface getActivePump(); @Nullable SensitivityInterface getActiveSensitivity(); void logPluginStatus(); void processOnEnabledCategoryChanged(PluginBase changedPlugin, PluginType type);  }
@Test public void onStopTest() { ConfigBuilderPlugin configBuilderPlugin = ConfigBuilderPlugin.getPlugin(); configBuilderPlugin.setPluginEnabled(PluginType.GENERAL, true); configBuilderPlugin.setPluginEnabled(PluginType.GENERAL, false); }