public void ControllerNotificationTest()
        {
            var Controller = new FakeControllerNotifier();

            Controller.TriggerNotification(BreachType.NORMAL);
            Assert.True(Controller.IsControllerTriggerNotificationCalled);
        }
        public void ControllerCheckAndAlertTest()
        {
            var _notifierType = new FakeControllerNotifier();

            CheckAndAlert(_notifierType, new BatteryCharacter {
                brand = "PQR", coolingType = CoolingType.HI_ACTIVE_COOLING
            }, -5);
            Assert.True(_notifierType.IsControllerTriggerNotificationCalled);
        }
        public void CompositeCheckAndAlertTest()
        {
            var _notifierType = new FakeCompositeNotifier();
            FakeControllerNotifier _controllerNotifier = new FakeControllerNotifier();

            _notifierType.AddNotifierToList(_controllerNotifier);
            CheckAndAlert(_notifierType, new BatteryCharacter {
                brand = "PQR", coolingType = CoolingType.HI_ACTIVE_COOLING
            }, -5);
            Assert.True(_notifierType.IsCompositeTriggerNotificationCalledOnce);
        }