public void CoffeeToMachine(int coffee) { if (coffee > 1 && coffee < 15) { sm.CoffeeSuccessfullyAdded(coffee); } else { sm.CoffeeFailure(); } }