public void TestMethod1()
        {
            var laptopBattery = new LaptopBatteryReal();

            laptopBattery.Charge(60);
            Assert.AreEqual(100, laptopBattery.CurrentChargePercentage);
        }
 public Laptop(Cpu cpu, Ram ram, IEnumerable <HardDrive> hardDrives, VideoCard videoCard, LaptopBatteryReal laptopBatery)
     : base(cpu, ram, hardDrives, videoCard)
 {
     this.laptopBatery = laptopBatery;
 }
 public Laptop(Cpu cpu, Ram ram, IEnumerable<HardDrive> hardDrives, VideoCard videoCard, LaptopBatteryReal laptopBatery)
     : base(cpu, ram, hardDrives, videoCard)
 {
     this.laptopBatery = laptopBatery;
 }