public void test01Modify() throws Exception {
if(log.isDebugEnabled()) log.debug("*** test01Modify ***");
List applications = new ArrayList();
Collection resources =new TreeSet(new ResourceNameComparator());
Collection resources2 =new TreeSet(new ResourceNameComparator());
Resource resource = new Resource("test");
String currentResource = resource.getId();
resources.add(resource);
Resource resource2 = new Resource("test2");
String currentResource2 = resource2.getId();
Collection attributes =new TreeSet(new AttributeNameComparator());
Attribute attribute = new Attribute("test");
attributes.add(attribute);
resource2.setAttributes(attributes);
resources.add(resource2);
Application application = new Application("test");
application.setResources(resources);
Resource resource3 = new Resource("test3");
String currentResource3 = resource.getId();
resources2.add(resource3);
Resource resource4 = new Resource("test4");
String currentResource4 = resource2.getId();
resources2.add(resource4);
Application application2 = new Application("test2");
application2.setResources(resources2);
applications.add(application);