use of io.gravitee.rest.api.services.dynamicproperties.provider.http.mapper.JoltMapper in project gravitee-management-rest-api by gravitee-io.
the class JoltMapperTest method test.
@Test
public void test() throws IOException {
mapper = new JoltMapper(read("/jolt/specification.json"));
String input = IOUtils.toString(read("/jolt/custom-response.json"), Charset.defaultCharset());
Collection<DynamicProperty> properties = mapper.map(input);
assertFalse(properties.isEmpty());
}
Aggregations