@Test
public void testRunningFeatureFromJavaApi() {

    Map<String, Object> result = Runner.runFeature(getClass(), "core/scenario.feature", null, true);
    assertEquals(1, result.get("a"));
    Map<String, Object> temp = (Map) result.get("b");
    assertEquals("bar", temp.get("foo"));
    assertEquals("someValue", result.get("someConfig"));
}