Owneat Technical Guide main Help

Class GetCategoryByIdQueryHandlerTests

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

public class GetCategoryByIdQueryHandlerTests

Inheritance

object ← GetCategoryByIdQueryHandlerTests

Inherited Members

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

Constructors

GetCategoryByIdQueryHandlerTests\(\)

public GetCategoryByIdQueryHandlerTests()

Methods

Handle_ShouldReturnCategory_WhenRepositoryReturnsCategory\(\)

[Fact] public Task Handle_ShouldReturnCategory_WhenRepositoryReturnsCategory()

Returns

Task

Handle_ShouldReturnNotFoundException_WhenRepositoryReturnsNull\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenRepositoryReturnsNull()

Returns

Task

Last modified: 21 May 2024