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