    @Test
    public void testJavaServiceCallWithJsonNode() throws Exception {

        String jsonString = "{\"name\": \"greece\"}";

        ObjectMapper mapper = new ObjectMapper();
        JsonNode inputNode = mapper.readTree(jsonString);

        JsonNode retNode = resource.jsonName(inputNode);
        assertNotNull(retNode);
        assertEquals("Greece", retNode.get("name").textValue());
        assertEquals("Europe", retNode.get("region").textValue());
        assertEquals("Euro", retNode.get("currencies").get(0).get("name").textValue());
    }