public void testCreateLayerSync() {
try {
ArrayList<String> urls = new ArrayList<String>();
urls.add("http://example.com/callback/simplegeo");
Layer layer = new Layer("java.client.testing.layer", "Testing Layer", "This layer is for testing only", false, urls);
String jsonString = client.createLayer(layer);
JSONObject json = new JSONObject(jsonString);
Assert.assertEquals("OK", json.get("status"));