protected Map<String, Resource> getResourceMap() {
Map<String, Resource> resourceMap = new HashMap<String, Resource>();
Resource testResource = new Resource("testResourceName");
testResource.setStateModelDefRef("MasterSlave");
testResource.addPartition("testResourceName_0");
testResource.addPartition("testResourceName_1");
testResource.addPartition("testResourceName_2");
testResource.addPartition("testResourceName_3");
testResource.addPartition("testResourceName_4");
resourceMap.put("testResourceName", testResource);