title: How to write scenario outline to capture list of object in a single argument?
body: <p>When writing cucumber scenario outline test cases, sometimes i have requirement that i need one of the placeholder to hold a list of data instead of one. See below pseudo example:</p>
  
  <pre><code>Scenario Outline: example
  Given I have &lt;input_1&gt; 
  When I choose &lt;input_2&gt;
  Then I should receive &lt;result_list&gt;  //instead of a single result
  
  Examples:
  | input_1        | input_2        | result                 |
  | input_1_case_1 | input_2_case_1 | result_1_case_1_part_1 |
  |                |                | result_1_case_1_part_2 |
  |                |                | result_1_case_1_part_3 |
  </code></pre>
  
  <p>In the above example, my "result" need to capture a list of object for each single input_1 and input_2 parameter. But with the above writing, cucumber will not compile the last statement to something like:</p>
  
  <pre><code>@Then("....")
  public void i_should_receive(Datatable or list of object) throws Throwable {
      // Write code here that turns the phrase above into concrete actions
      throw new PendingException();
  }
  </code></pre>
  
  <p>How can write my cucumber script to achieve what i want?</p>
  
  <p>Thanks.</p>