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