public async void IfComponentTypeExists_UpdateCompojnentTypeAsync_AndReturnUpdatedComponentType() { var componentType = DbContext.ComponentTypes.Find(1); componentType.Name = "Intel1234"; var updatedComponentType = await _componentTypeRepository.UpdateAsync(componentType); Assert.NotNull(updatedComponentType); Assert.Equal(componentType.Name, updatedComponentType.Name); Assert.Equal(componentType.Id, updatedComponentType.Id); }