public void RemoveCurrentDisplayTest()
        {
            currentDisplay = new CurrentConditionDisplay(publisher);
            currentDisplay.UnSubscriber();

            var expected = 0;
            var actual   = publisher.TotalSubscribers();

            Assert.AreEqual(expected, actual);
        }
        public void AddCurrentDisplayTest()
        {
            currentDisplay = new CurrentConditionDisplay(publisher);
            WeatherData weatherData = new WeatherData {
                Humidity = 23.5f, Temperature = 28.5f, Pressure = 12f
            };

            publisher.SetMeasurementChanged(weatherData);

            var expected = weatherData;
            var actual   = currentDisplay.GetWeatherData();

            Assert.AreEqual(expected, actual);
        }