title: Cucumber has deprecated Given/Then/When in 4.7 - what should they be replaced by?
body: <p>I recently upgraded my Cucumber/Java-based test tool by upgrading the Cucumber dependencies from 4.3.1 to 4.7.0. Now Eclipse reports that the Then tag is deprecated. For example, in my Step Definition class, Eclipse reports a warning that The type Then is deprecated next to this method:</p>
  
  <pre><code>@Then("Invoke the Functional API")
  public void invoke_the_functional_api(DataTable dataTable) {
      /* Body of step definition */
  }
  </code></pre>
  
  <p>The body of this step definition does not reference any other step definitions. Normally, when I see a deprecated warning, I would investigate how to replace the deprecated usage with more up-to-date code, but I can't work out what that would be in this case. Does anyone know?</p>