public void UpdateComputerTest() { //Arrange Receptionist recepcionist = new Receptionist(); Notebook notebook = new Notebook("Alan", Brand.AsRock, true, false, OS.Windows, ComType.Notebook, Processor.AMD, HardDisk.SDD256GB, RAM.GB16, "Se rompio", GraphicCard.MSIRadeonRX480); Notebook notebook2 = new Notebook("Alan", Brand.Acer, true, false, OS.Linux, ComType.Notebook, Processor.Intel, HardDisk.HDD1TB, RAM.GB4, "Esta rota", GraphicCard.RadeonRX560); CoreProcedure.Computers = new List <Computer>(); //Act recepcionist.AddComputer(notebook); recepcionist.UpdateComputer(notebook, notebook2); //Assert Assert.AreEqual(CoreProcedure.ReceivedComputers[0], notebook2); }