Owneat Technical Guide main Help

Class GetAllRestaurantsQueryTests

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

public class GetAllRestaurantsQueryTests

Inheritance

object ← GetAllRestaurantsQueryTests

Inherited Members

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

Constructors

GetAllRestaurantsQueryTests\(\)

public GetAllRestaurantsQueryTests()

Methods

Handle_ShouldReturnAllRestaurants_WhenRepositoryReturnsRestaurants\(\)

[Fact] public Task Handle_ShouldReturnAllRestaurants_WhenRepositoryReturnsRestaurants()

Returns

Task

Handle_ShouldReturnEmptyList_WhenRepositoryReturnsEmptyList\(\)

[Fact] public Task Handle_ShouldReturnEmptyList_WhenRepositoryReturnsEmptyList()

Returns

Task

Last modified: 21 May 2024