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