@Test public void testCreateTileRange() throws IOException, GeoWebCacheException { // Creation of a Test Layer WMSLayer tl = createWMSLayer(); // First SubSet string String gridSet = tl.getGridSubsets().iterator().next(); // Get the subset associated to the name GridSubset gridSubSet = tl.getGridSubset(gridSet); // Simple Bounding Box for the tests BoundingBox bounds = new BoundingBox(0d, 0d, 1d, 1d); // Selection of the area that covers the given rectangle long[][] result = gridSubSet.getCoverageIntersections(bounds); // This assertion should be true if no Exception has been thrown assertNotNull(result); }