### Question:
ConvertLatLon { public static final Literal toLiteral(double lat, double lon) { checkBounds(lat, lon); return WKTLiteralFactory.createPoint(lat, lon, SRS_URI.WGS84_CRS); }  static final Literal toLiteral(double lat, double lon); static final String toWKT(double lat, double lon); static final NodeValue toNodeValue(NodeValue latNodeValue, NodeValue lonNodeValue); static double extractDouble(NodeValue nodeValue); static final Node toNode(Node latNode, Node lonNode); static final GeometryWrapper toGeometryWrapper(Node latNode, Node lonNode); static final void checkBounds(double latitude, double longitude);  }### Answer:
@Test public void testToLiteral() { float lat = 10.0F; float lon = 20.0F; Literal expResult = ResourceFactory.createTypedLiteral("<http: Literal result = ConvertLatLon.toLiteral(lat, lon); assertEquals(expResult, result); }