cfgB.setName("B");
cfgC.setName("C");
cfgD.setName("D");
cfgE.setName("E");
cfgC.setOrdering(new Ordering());
FacesConfigNameSlot temp = new FacesConfigNameSlot();
temp.setName("D");
cfgC.getOrdering().getBeforeList().add(temp);
temp = new FacesConfigNameSlot();
temp.setName("E");
cfgC.getOrdering().getBeforeList().add(temp);
temp = new FacesConfigNameSlot();
temp.setName("A");
cfgC.getOrdering().getAfterList().add(temp);
temp = new FacesConfigNameSlot();
temp.setName("B");
cfgC.getOrdering().getAfterList().add(temp);
cfgA.setOrdering(new Ordering());
temp = new FacesConfigNameSlot();
temp.setName("B");
cfgA.getOrdering().getBeforeList().add(temp);
temp = new FacesConfigNameSlot();
temp.setName("E");
cfgA.getOrdering().getBeforeList().add(temp);
cfgE.setOrdering(new Ordering());
temp = new FacesConfigNameSlot();
temp.setName("D");
cfgE.getOrdering().getAfterList().add(temp);
cfgD.setOrdering(new Ordering());
cfgD.getOrdering().getBeforeList().add(new ConfigOthersSlot());
List<FacesConfig> appConfigResources = new ArrayList<FacesConfig>();
appConfigResources.add(cfgA);
appConfigResources.add(cfgB);