Example #1
0
        public void GetCpuByModel_WithModelMatchingCpu_ShouldReturnCorrectCpu()
        {
            SetUp();

            SeedData();
            var cpu = _cpuService.GetCpuByModel("model1");

            Assert.True(cpu != null);
        }
Example #2
0
 public Cpu GetCpuByModel(string model)
 {
     return(_service.GetCpuByModel(model));
 }