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