@FailingOnPurpose
    @Test( timeout = 1000 )
    public void shouldFailWithUnexpectedRuntimeException() throws Exception {
        then().$( "should throw a runtime exception", //$NON-NLS-1$
                new StepFunction<ThenCoffee>() {
                    @Override
                    public void apply( final ThenCoffee stage )
                            throws Exception {
                        Thread.sleep( 2000 );
                    }
                } );
    }
Original example due to Cucumber Wiki.
jgiven-examples/src/test/java/com/tngtech/jgiven/examples/coffeemachine/ServeCoffeeTest.java