ITakeCoffeeNumberCoffees() public method

public ITakeCoffeeNumberCoffees ( int coffeeNumber ) : void
coffeeNumber int
return void
Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 public void ITakeCoffeeNumberCoffees(int coffeeNumber)
 {
     Actionwords.ITakeCoffeeNumberCoffees(coffeeNumber);
 }