@Test
public void testGetAncestorControllerServicesFromRootToRoot() {

    final Set<VersionedControllerService> services = ComponentUtils.getAncestorControllerServices(rootGroup.getIdentifier(), rootGroup);
    Assert.assertEquals(1, services.size());
    Assert.assertTrue(services.contains(rootService));
}