Expanders { public static String fromXmlResponse(String testStep, String path) { return expand(testStep, "ResponseAsXml", path); }  static String expand(String testStep, String property, String path); static String fromResponse(String testStep, String path); static String fromXmlResponse(String testStep, String path); static String script(String script); static String dataSourceProperty(String property); static String expand(String testStep, String property); static final String DEFAULT_DATASOURCE_TESTSTEP_NAME; }
@Test public void testFromXmlResponse() throws Exception { String value = Expanders.fromXmlResponse("Test name", "/some/xpath"); Assert.assertEquals("${Test name#ResponseAsXml#/some/xpath}", value); }