Owneat Technical Guide main Help

Class GetIngredientByIdQueryTests

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

public class GetIngredientByIdQueryTests

Inheritance

object ← GetIngredientByIdQueryTests

Inherited Members

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

Constructors

GetIngredientByIdQueryTests\(\)

public GetIngredientByIdQueryTests()

Methods

Handle_ShouldReturnIngredient_WhenRepositoryReturnsIngredient\(\)

[Fact] public Task Handle_ShouldReturnIngredient_WhenRepositoryReturnsIngredient()

Returns

Task

Handle_ShouldReturnNotFoundException_WhenRepositoryReturnsNull\(\)

[Fact] public Task Handle_ShouldReturnNotFoundException_WhenRepositoryReturnsNull()

Returns

Task

Last modified: 21 May 2024