PluginDescription { public PluginDescription alwaysVisible(boolean alwaysVisible) { this.alwaysVisible = alwaysVisible; return this; }  PluginDescription mainType(PluginType mainType); PluginDescription fragmentClass(String fragmentClass); PluginDescription alwaysEnabled(boolean alwaysEnabled); PluginDescription alwaysVisible(boolean alwaysVisible); PluginDescription neverVisible(boolean neverVisible); PluginDescription showInList(boolean showInList); PluginDescription pluginName(int pluginName); PluginDescription shortName(int shortName); PluginDescription preferencesId(int preferencesId); PluginDescription enableByDefault(boolean enableByDefault); PluginDescription visibleByDefault(boolean visibleByDefault); PluginDescription description(int description); String getFragmentClass(); PluginType getType(); public boolean alwaysVisible; public boolean neverVisible; public boolean alwaysEnabled; public boolean enableByDefault; public boolean visibleByDefault; }
@Test public void alwayVisibleTest() { PluginDescription pluginDescription = new PluginDescription().alwaysVisible(true); Assert.assertEquals(true, pluginDescription.alwaysVisible); }