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