@Test
public void testUoMDefault() throws Exception {

    // Reading file
    final File file = TestData.file(GeoTiffReaderTest.class,"no_uom.tif");
    assertNotNull(file);
    final AbstractGridFormat format = new GeoTiffFormat();
    GridCoverage2D coverage = format.getReader(file).read(null);
    // Getting CRS
    CoordinateReferenceSystem crs = coverage.getCoordinateReferenceSystem();
    // Getting its string definition
    String crsDef = crs.toWKT();
    // Ensure the Unit of Measure define is Meter
    assertTrue(crsDef.contains("UNIT[\"m\", 1.0]"));
}