private void outCommand(String command, boolean waitForScenario, String... parameters) {
    String line = escapeCommand(command, parameters);
    if (currentScenario == null && waitForScenario) {
      queue.add(line);
    }
    else {
      printLine(line);
    }
  }
private void outCommand(String command, boolean waitForScenario, String... parameters)