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