DomAdminV2Builder extends DomAdminBuilderBase { private List<Slobrok> getSlobroks(DeployState deployState, AbstractConfigProducer parent, Element slobroksE) { List<Slobrok> slobs = new ArrayList<>(); if (slobroksE != null) { slobs = getExplicitSlobrokSetup(deployState, parent, slobroksE); } return slobs; } DomAdminV2Builder(ConfigModelContext.ApplicationType applicationType,
                             FileRegistry fileRegistry,
                             boolean multitenant,
                             List<ConfigServerSpec> configServerSpecs);   }
@Test public void testAdminServerOnly() { Admin admin = buildAdmin(servicesAdminServerOnly()); assertEquals(1, admin.getSlobroks().size()); }