public void Delete_ShouldDeleteTheComponentTypeFromTheDatabase() { var componentTypeId = 1; _componentTypeRepository.Delete(componentTypeId); Assert.Equal(1, DbContext.ComponentTypes.Count()); }
public void Delete_ShouldDeleteTheComponentTypeFromTheDatabase() { var componentTypeId = 1; _componentTypeRepository.Delete(componentTypeId); Assert.Equal(1, DbContext.ComponentTypes.Count()); }