title: How to pass complex object in cucumber feature file
body: <p>Our team is moving from clean testng to testng+cucumber. While trying to create a feature for a simple test where an immutable object is sent to service with various data each run(dataprovider in the testng world) I found myself in need of a step with at max 11 fields. Which is kinda a lot - it's a not good practice. </p>
  
  <p>There is any chance cucumber has the possibility to get complex objects from scenario outline?
  I was trying to find some docs on my problem but nothing popped up. Maybe I was looking in wrong place or googling with a wrong query.</p>
  
  <p>Ex. </p>
  
  <pre><code>@Test(
      dataProvider = "data"
  )
  public void sendRequestTest(
      SomeComplexRequest request
  ) {
      //Given
  
      some test data prep
  
      //When
      Responce resp = sendRequestToService(request);
  
      //Then
      assertEquals(resp, expectedResp);
  }
  
  @Builder
  class SomeComplexRequest{
  dataType Field1;
  dataType Field2;
  dataType Field3;
  ...
  dataType FieldN;
  } 
  </code></pre>