@Test
public void testToLiteral() {

    float latMin = 0.0F;
    float lonMin = 1.0F;
    float latMax = 10.0F;
    float lonMax = 11.0F;
    Literal expResult = ResourceFactory.createTypedLiteral("<http://www.opengis.net/def/crs/EPSG/0/4326> POLYGON((0 1, 10 1, 10 11, 0 11, 0 1))", WKTDatatype.INSTANCE);
    Literal result = ConvertLatLonBox.toLiteral(latMin, lonMin, latMax, lonMax);
    assertEquals(expResult, result);
}