@Test
public void testQueryUTM() throws Exception {

    ReferencedEnvelope wgs84Envelope = new ReferencedEnvelope(8, 10, 40, 45, WGS84);
    ReferencedEnvelope utmEnvelope = wgs84Envelope.transform(UTM32N, true);
    // get query area, we expect just one envelope, the original one
    ProjectionHandler handler = ProjectionHandlerFinder.getHandler(utmEnvelope, WGS84, true);
    ReferencedEnvelope expected = utmEnvelope.transform(WGS84, true);
    List<ReferencedEnvelope> envelopes = handler.getQueryEnvelopes();
    assertEquals(1, envelopes.size());
    assertEquals(expected, envelopes.get(0));
}