@Test
public void testToLiteral() {

    float lat = 10.0F;
    float lon = 20.0F;
    Literal expResult = ResourceFactory.createTypedLiteral("<http://www.opengis.net/def/crs/EPSG/0/4326> POINT(10 20)", WKTDatatype.INSTANCE);
    Literal result = ConvertLatLon.toLiteral(lat, lon);
    assertEquals(expResult, result);
}