@Test
public void testDefaultParameterValueFile() throws IOException,
		MismatchedDimensionException, NoSuchAuthorityCodeException {

	//
	// Get the resource.
	//
	final File testFile = TestData.file(this, "goodpyramid/"+TEST_FILE);//
	assertNotNull(testFile);
	//
	// Get a reader
	//
	final AbstractGridFormat format = new ImagePyramidFormat();
	assertTrue(format.accepts(testFile));
	final ImagePyramidReader reader = (ImagePyramidReader) format
			.getReader(testFile);
	assertNotNull(reader);
	//
	// Show the coverage
	//
	final GridCoverage2D coverage = (GridCoverage2D) reader.read(null);
	assertNotNull("Null value returned instead of a coverage", coverage);
	assertTrue("coverage dimensions different from what we expected",
			coverage.getGridGeometry().getGridRange().getSpan(0) == 250
					&& coverage.getGridGeometry().getGridRange().getSpan(
							1) == 250);
	if (TestData.isInteractiveTest())
		coverage.show("testDefaultParameterValueFile");
	else
		PlanarImage.wrapRenderedImage(((GridCoverage2D) coverage).getRenderedImage()).getTiles();
}