// For the gets we'll use a shared one
TileLayerRestlet tlr;
protected void setUp() throws Exception {
GridSetBroker gridSetBroker = new GridSetBroker(false, false);
BoundingBox extent = new BoundingBox(0, 0, 10E6, 10E6);
boolean alignTopLeft = false;
int levels = 10;
Double metersPerUnit = 1.0;
double pixelSize = 0.0028;
int tileWidth = 256;
int tileHeight = 256;
boolean yCoordinateFirst = false;
GridSet gridSet = GridSetFactory.createGridSet("EPSG:3395", SRS.getSRS("EPSG:3395"),
extent, alignTopLeft, levels, metersPerUnit, pixelSize, tileWidth, tileHeight,
yCoordinateFirst);
gridSetBroker.put(gridSet);
XMLConfiguration xmlConfig = loadXMLConfig();
xmlConfig.initialize(gridSetBroker);
LinkedList<Configuration> configList = new LinkedList<Configuration>();
configList.add(xmlConfig);