@Test
    @FeatureDataTables
    @DataProvider( {
            "0, 0, Error: No coffees left",
            "0, 1, Error: No coffees left",
            "1, 0, Error: Insufficient money",
            "0, 5, Error: No coffees left",
            "1, 5, Enjoy your coffee!",
    } )
    public void correct_messages_are_shown( int coffees_left, int number_of_coins, String message ) throws Exception {
        given().a_coffee_machine()
                .and().there_are_$_coffees_left_in_the_machine( coffees_left );
        when().I_insert_$_one_euro_coins( number_of_coins )
                .and().I_press_the_coffee_button();
        then().the_message_$_is_shown( message );
    }
Original example due to Cucumber Wiki.
jgiven-examples/src/test/java/com/tngtech/jgiven/examples/coffeemachine/ServeCoffeeTest.java