public void testSearchByAddressSync() {
try {
HashMap<String, String[]> params = new HashMap<String, String[]>();
params.put("limit", new String[] {"10"});
String jsonString = client.searchByAddress("41 decatur st, san francisco, ca", "casey.testing.layer", params);
FeatureCollection featureCollection = FeatureCollection.fromJSONString(jsonString);
Assert.assertNotNull(featureCollection.getFeatures());
} catch (IOException e) {
Assert.fail(e.getMessage());
} catch (JSONException e) {
Assert.fail(e.getMessage());
}