public void IfUpdateIsCalledWithVesselFullMessageWeShouldTurnOffWaterFlow()
        {
            HotWaterSource hotWaterSource = new HotWaterSource(mockMessageSender.Object, mockMessageWatcher.Object);

            hotWaterSource.Update("Brew Start");
            hotWaterSource.Update("Containment Vessel Full");

            Assert.That(hotWaterSource.waterIsFlowing, Is.False);
        }
        public void IfUpdateIsCalledWithBrewStartMessageTheWaterWillStartFlowing()
        {
            HotWaterSource hotWaterSource = new HotWaterSource(mockMessageSender.Object, mockMessageWatcher.Object);

            hotWaterSource.Update("Brew Start");

            Assert.That(hotWaterSource.waterIsFlowing, Is.True);
        }