public void Initialize() { _time.Events.Subscribe(_grill.TimeObserver); _cart.Events.OfType <HotDogCartEvent, SaleStartedEvent>().Subscribe(_ => _grill.RemoveCookedHotDog()); }
protected void Act_RemoveCookedHotDog() => _grill.RemoveCookedHotDog();