@Test
    @DataProvider( {
            "1, 1",
            "0, 2",
            "1, 0"
    } )
    public void coffee_is_not_served( int coffees, int euros ) {
        given().a_coffee_machine()
                .and().the_coffee_costs_$_euros( 2 )
                .and().there_are_$_coffees_left_in_the_machine( coffees );

        when().I_insert_$_one_euro_coins( euros )
                .and().I_press_the_coffee_button();

        then().I_should_not_be_served_a_coffee();
    }
Original example due to Cucumber Wiki.
jgiven-examples/src/test/java/com/tngtech/jgiven/examples/coffeemachine/ServeCoffeeTest.java