*/
@Test
public void badPyramid1() throws IOException {
final URL sourceDir = TestData.getResource(this, "badpyramid1");
// now make sure we can actually rebuild the mosaic
final AbstractGridFormat format = new ImagePyramidFormat();
final Hints hints = new Hints(Hints.DEFAULT_COORDINATE_REFERENCE_SYSTEM, DefaultGeographicCRS.WGS84);
assertFalse(((ImagePyramidFormat)format).accepts(sourceDir, hints));
final ImagePyramidReader reader = (ImagePyramidReader) format.getReader(sourceDir, hints);
assertNull(reader);
}