public void GetComponentTypeById_ComponentTypeExists_ReturnComponentType() { var componentType = _componentTypeRepository.Get(1); Assert.NotNull(componentType); Assert.Equal(1, componentType.Id); Assert.Equal("CPU", componentType.Name); }
public void GetComponentTypeById_ComponentTypeExists_ReturnComponentType() { var componentType = _componentTypeRepository.Get(1); Assert.NotNull(componentType); Assert.Equal(1, componentType.Id); Assert.Equal("CPU", componentType.Name); }