@Test
public void testParseTileMatrixSetWithoutTopLevelEnvelope()
                        throws Exception {

    XMLStreamReader xmlStream = getResourceXmlStreamReader( "wmts100_tilematrixset.xml" );
    assertEquals( START_ELEMENT, xmlStream.getEventType() );
    assertEquals( new QName( WMTS_100_NS, "TileMatrixSet" ), xmlStream.getName() );
    TileMatrixSet tileMatrixSet = adapter.parseTileMatrixSet( xmlStream );
    assertEquals( END_ELEMENT, xmlStream.getEventType() );
    assertEquals( new QName( WMTS_100_NS, "TileMatrixSet" ), xmlStream.getName() );
    assertEquals( "Satellite_Provo", tileMatrixSet.getIdentifier() );
    SpatialMetadata spatialMetadata = tileMatrixSet.getSpatialMetadata();
    assertEquals( "EPSG:26912", spatialMetadata.getCoordinateSystems().get( 0 ).getAlias() );
    assertEquals( 441174.0, spatialMetadata.getEnvelope().getMin().get0(), 0.0001 );
    assertEquals( 4448359.0, spatialMetadata.getEnvelope().getMin().get1(), 0.0001 );
    assertEquals( 447830.0, spatialMetadata.getEnvelope().getMax().get0(), 0.0001 );
    assertEquals( 4456039.0, spatialMetadata.getEnvelope().getMax().get1(), 0.0001 );
    assertEquals( 4, tileMatrixSet.getTileMatrices().size() );
}