@Test(groups = "fast") public void testDefaultConfiguration() throws Exception { final DashboardConfig config = new ConfigurationObjectFactory(System.getProperties()).build(DashboardConfig.class); final CustomGroupsManager manager = new CustomGroupsManager(config); final List<CustomGroup> configuration = manager.getCustomGroups(); Assert.assertEquals(configuration.size(), 0); }
public List<CustomGroup> getCustomGroups() { return customGroups; }
CustomGroupsManager { public List<CustomGroup> getCustomGroups() { return customGroups; } }
CustomGroupsManager { public List<CustomGroup> getCustomGroups() { return customGroups; } @Inject  CustomGroupsManager(final DashboardConfig config); }
CustomGroupsManager { public List<CustomGroup> getCustomGroups() { return customGroups; } @Inject  CustomGroupsManager(final DashboardConfig config); List<CustomGroup> getCustomGroups(); }
CustomGroupsManager { public List<CustomGroup> getCustomGroups() { return customGroups; } @Inject  CustomGroupsManager(final DashboardConfig config); List<CustomGroup> getCustomGroups();  }