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