@SuppressWarnings({ "rawtypes", "unchecked" })
public Region mockRegion(String name) {
regionAttributes = attributesFactory.create();
RegionService mockRegionService = mockRegionService();
Region region = mock(Region.class);
when(region.getAttributes()).thenReturn(regionAttributes);
String regionFullPath = (name.startsWith(Region.SEPARATOR) ? name : Region.SEPARATOR + name);