@Test public void testInit() { BranchingServiceCollection services = createServiceCollection(); try { LifecycleHelper.init(services); fail("should not be able to init without first Service ID"); } catch (CoreException e) { } services.setFirstServiceId(BRANCH_LOW); try { LifecycleHelper.init(services); } catch (CoreException e) { fail("should not get Exception once first Service ID is set"); } }
public void setFirstServiceId(String s) { firstServiceId = Args.notBlank(s, "firstServiceId"); }
BranchingServiceCollection extends ServiceCollectionImp { public void setFirstServiceId(String s) { firstServiceId = Args.notBlank(s, "firstServiceId"); } }
BranchingServiceCollection extends ServiceCollectionImp { public void setFirstServiceId(String s) { firstServiceId = Args.notBlank(s, "firstServiceId"); } BranchingServiceCollection();  BranchingServiceCollection(Collection<Service> list); }
BranchingServiceCollection extends ServiceCollectionImp { public void setFirstServiceId(String s) { firstServiceId = Args.notBlank(s, "firstServiceId"); } BranchingServiceCollection();  BranchingServiceCollection(Collection<Service> list); String getFirstServiceId(); void setFirstServiceId(String s); BranchingServiceCollection withFirstServiceId(String s); }
BranchingServiceCollection extends ServiceCollectionImp { public void setFirstServiceId(String s) { firstServiceId = Args.notBlank(s, "firstServiceId"); } BranchingServiceCollection();  BranchingServiceCollection(Collection<Service> list); String getFirstServiceId(); void setFirstServiceId(String s); BranchingServiceCollection withFirstServiceId(String s);  }