title: Is it possible to make cucumber test fail?
body: <p>The piece of code I have below compares two list. 
  In my step I use an if statement to check if the <code>destinationList</code> is empty, if so the test is correct and the cucumber steps should proceed.</p>
  
  <p>However if the else statement is reached is there a way I can cause the cucumber test to fail? `</p>
  
  <pre><code>if (destinationList.isEmpty()) {
      System.out.println("This report is correct");
  
  } else {
       System.out.println("This report is incorrect.");
       System.out.println("This list conatains the expected values of the report and their locations:");
       System.out.println("expected = "+sourceList);
       System.out.println("This list contains the actual value from this report and their locations:");
       System.out.println("actual = "+destinationList);
  }
  </code></pre>