Owneat Technical Guide main Help

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

Task

Handle_ShouldReturnConflictException_WhenIngredientAlreadyExistsInProduct\(\)

[Fact] public Task Handle_ShouldReturnConflictException_WhenIngredientAlreadyExistsInProduct()

Returns

Task

Handle_ShouldReturnNotFoundException_WhenIngredientDoesNotExist\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenIngredientDoesNotExist()

Returns

Task

Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist()

Returns

Task

Last modified: 21 May 2024