@Test
public void testServer() {

    Feature feature = FeatureParser.parse(FileUtils.getFileRelativeTo(getClass(), "server.feature"));
    FeaturesBackend backend = new FeaturesBackend(feature);
    ScriptValueMap vars = backend.handle(getRequest("Billie"));
    Match.equals(vars.get("response").getAsMap(), "{ id: 1, name: 'Billie' }");
    vars = backend.handle(getRequest("Wild"));
    Match.equals(vars.get("response").getAsMap(), "{ id: 2, name: 'Wild' }");
    List<Map> list = vars.get("cats").getAsList();
    Match.equals(list, "[{ id: 1, name: 'Billie' }, { id: 2, name: 'Wild' }]");
}