Class AddProductIngredientCommandHandlerTests
Namespace: Restaurant.UnitTests.Handlers.Product
Assembly: Restaurant.UnitTests.dll
public class AddProductIngredientCommandHandlerTests
Inheritance
object ← AddProductIngredientCommandHandlerTests
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
AddProductIngredientCommandHandlerTests\(\)
public AddProductIngredientCommandHandlerTests()
Methods
Handle_ShouldAddIngredientToProduct_WhenIngredientAndProductExist\(\)
[Fact]
public Task Handle_ShouldAddIngredientToProduct_WhenIngredientAndProductExist()
Returns
Handle_ShouldReturnConflictException_WhenIngredientAlreadyExistsInProduct\(\)
[Fact]
public Task Handle_ShouldReturnConflictException_WhenIngredientAlreadyExistsInProduct()
Returns
Handle_ShouldReturnNotFoundException_WhenIngredientDoesNotExist\(\)
[Fact]
public Task Handle_ShouldReturnNotFoundException_WhenIngredientDoesNotExist()
Returns
Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist\(\)
[Fact]
public Task Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist()
Returns
Last modified: 21 May 2024