public void HandleCurrentValueEvent(object sender, CurrentEventArgs e) //lavet til public eller virker test klassen ikke
        {
            if (e.Current == 0)
            {
                //Intet sker
                _state = 0;
            }

            if (e.Current > 0 && e.Current <= 5)
            {
                _consoleWriter.FullyChargedMessage();
                _state = 1;
            }

            if (e.Current > 5 && e.Current <= 500)
            {
                _consoleWriter.ChargingMessage();
                _state = 2;
            }

            if (e.Current > 500)
            {
                _consoleWriter.OverloadMessage();
                _charger.StopCharge();
                _state = 3;
            }
        }