ConvertLatLon { public static final String toWKT(double lat, double lon) { Literal wktPoint = toLiteral(lat, lon); return wktPoint.getLexicalForm(); }  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);  }
@Test public void testToWKT() { float lat = 10.0F; float lon = 20.0F; String expResult = "<http: String result = ConvertLatLon.toWKT(lat, lon); assertEquals(expResult, result); }