@Test
public void testMultipleServerFeatures() {

    Feature feature = FeatureParser.parse(FileUtils.getFileRelativeTo(getClass(), "server.feature"));
    Feature feature2 = FeatureParser.parse(FileUtils.getFileRelativeTo(getClass(), "server-path-matching.feature"));
    FeaturesBackend backend = new FeaturesBackend(new Feature[]{feature, feature2});
    Match match = new Match()
            .text(ScriptValueMap.VAR_REQUEST_URI, "/v10/cats")
            .text(ScriptValueMap.VAR_REQUEST_METHOD, "GET");
    FeatureBackend.FeatureScenarioMatch matchingInfo = backend.getMatchingScenario(match.vars());
    Assert.assertNotNull(matchingInfo.getFeatureBackend());
    Assert.assertNotNull(matchingInfo.getScenario());
    Assert.assertEquals("server-path-matching.feature", matchingInfo.getFeatureBackend().getFeatureName());
    Assert.assertThat(matchingInfo.getScenario().getName(), containsString("/v10/cats"));
}