public void DobriParametriSendData(string id, double capacity, Common.Enums.BatteryRezim rezim)
        {
            shesb.SendData(id, capacity, rezim);

            Assert.AreEqual(SHES.SHESBattery.bufferCapacities[id], capacity);
            Assert.AreEqual(SHES.SHESBattery.bufferRezimi[id], rezim);
        }
 public void NegativniParametri(string id, double capacity, Common.Enums.BatteryRezim rezim)
 {
     Assert.Throws <ArgumentOutOfRangeException>(
         () =>
     {
         shesb.SendData(id, capacity, rezim);
     }
         );
 }
 public void Setup()
 {
     rezim = Common.Enums.BatteryRezim.PUNJENJE;
     plug  = true;
     evcg  = new EVChargerGUI();
 }