public void run() {
        runner = newJsonRunnerWithSetting(
                globalSettings.stream()
                        .filter(byEnv(this.env))
                        .map(toRunnerSetting())
                        .collect(toList()), startArgs);
        runner.run();
    }
@Test
    public void should_run_with_global_response_settings() throws IOException {
        stream = getResourceAsStream("settings/response-settings.json");
        runner = new SettingRunner(stream, createStartArgs(12306));
        runner.run();

        Header header = helper.getResponse(remoteUrl("/foo")).getFirstHeader("foo");
        assertThat(header.getValue(), is("bar"));
    }