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
Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExist\(\)
[Fact]
public Task Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExist()
Returns
Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExistInProduct\(\)
[Fact]
public Task Handle_ShouldReturnNotFoundException_WhenAllergenDoesNotExistInProduct()
Returns
Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist\(\)
[Fact]
public Task Handle_ShouldReturnNotFoundException_WhenProductDoesNotExist()
Returns
Last modified: 21 May 2024