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