title: Same step using different step definitions Serenity Cucumber
body: <p>I am automating a system using BDD with Serenity + Cucumber-jvm, and I have some cases, that the same step can be used as any keyword step definition.
  Example:</p>
  
  <pre><code>Given something
  When do something
  Then other thing
  And do something
  </code></pre>
  
  <p>As you can see, <code>do something</code> is used with both <code>when</code> and <code>then</code>, but If I define the same method with these 2 annotations:</p>
  
  <pre><code>@When("do something")
  @Then("do something")
  public void doSomething() {
  }
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>cucumber.runtime.DuplicateStepDefinitionException: Duplicate step definitions in ...
  </code></pre>
  
  <p>How do I resolve this issue</p>