public void FullGroundsDoesNotBlockCoffee() { // Given the coffee machine is started Actionwords.TheCoffeeMachineIsStarted(); // And I handle everything except the grounds Actionwords.IHandleEverythingExceptTheGrounds(); // When I take "50" coffees Actionwords.ITakeCoffeeNumberCoffees(50); // Then message "Empty grounds" should be displayed Actionwords.MessageMessageShouldBeDisplayed("Empty grounds"); // And coffee should be served Actionwords.CoffeeShouldBeServed(); }
public void ITakeCoffeeNumberCoffees(int coffeeNumber) { Actionwords.ITakeCoffeeNumberCoffees(coffeeNumber); }