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