title: assert is not working when working with cucumber and java
body: <p>I am working with java and cucumber.
  In my step def I found that assertion is not working. Even if I write</p>
  
  <pre><code>assert 1==2
  </code></pre>
  
  <p>exception is not thrown.
  I know that I do not provide too much info, but the problem I do not know what start to check. Any idea what it can be?</p>