JsonFunctions { public static String jsonPath(String content, String expression, TestContext context) { return new JsonPathFunction().execute(Arrays.asList(content, expression), context); } private  JsonFunctions(); static String jsonPath(String content, String expression, TestContext context);  }
@Test public void testJsonPath() throws Exception { Assert.assertEquals(jsonPath("{\"text\": \"Some Text\"}", "$.text", context), "Some Text"); }