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