Owneat Technical Guide main Help

Class RemoveProductAllergenCommandHandlerTests

Namespace: Restaurant.UnitTests.Handlers.Product
Assembly: Restaurant.UnitTests.dll

public class RemoveProductAllergenCommandHandlerTests

Inheritance

object ← RemoveProductAllergenCommandHandlerTests

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

RemoveProductAllergenCommandHandlerTests\(\)

public RemoveProductAllergenCommandHandlerTests()

Methods

Handle_ShouldRemoveAllergenFromProduct_WhenAllergenAndProductExists\(\)

[Fact] public Task Handle_ShouldRemoveAllergenFromProduct_WhenAllergenAndProductExists()

Returns

Task

Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExist\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExist()

Returns

Task

Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExistInProduct\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExistInProduct()

Returns

Task

Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist()

Returns

Task

Last modified: 21 May 2024