tzatziki-samples/src/main/java/samples/coffeemachine/TakeOrderSteps.java
@Then("^the instruction generated should be \"([^\"]*)\"$")
    public void the_instruction_generated_should_be(String command) throws Throwable {
        verify(context.getDrinkMaker()).executeCommand(eq(command));
    }
@Then("^the instruction generated should be \"([^\"]*)\"$")
    public void the_instruction_generated_should_be(String command) throws Throwable {
        verify(context.getDrinkMaker()).executeCommand(eq(command));
    }
@ Then ( "^the instruction generated should be \"([^\"]*)\"$" ) public void the_instruction_generated_should_be ( String command ) throws Throwable { verify ( context . getDrinkMaker ( ) ) . executeCommand ( eq ( command ) ) ; }
Assert that the generated command matches the specified command.
@param command expected command
@throws Throwable
Assert that the generated command matches the specified command .