Owneat Technical Guide main Help

Class UpdateCategoryCommandHandlerTests

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

public class UpdateCategoryCommandHandlerTests

Inheritance

object ← UpdateCategoryCommandHandlerTests

Inherited Members

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

Constructors

UpdateCategoryCommandHandlerTests\(\)

public UpdateCategoryCommandHandlerTests()

Methods

Handle_ShouldReturnNotFoundException_WhenCategoryIsNull\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenCategoryIsNull()

Returns

Task

Handle_ShouldReturnUpdatedCategory_WhenCommandIsValid\(\)

[Fact] public Task Handle_ShouldReturnUpdatedCategory_WhenCommandIsValid()

Returns

Task

Last modified: 21 May 2024