public void GetCpuModels_WithListOfCpus_ShouldReturnAllModels() { SetUp(); SeedData(); var cpuModels = _cpuService.GetCpuModels().ToList(); List <string> expectedResult = new List <string>() { "model1", "model2" }; Assert.Equal(expectedResult, cpuModels); }
public List <string> GetCpuModels() { return(_service.GetCpuModels().ToList()); }