Owneat Technical Guide main Help

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

Task

ToggleRestaurantMenuState_ShouldReturnNotFoundException_WhenMenuIsNull\(\)

[Fact] public Task ToggleRestaurantMenuState_ShouldReturnNotFoundException_WhenMenuIsNull()

Returns

Task

ToggleRestaurantMenuState_ShouldReturnNotFoundException_WhenRestaurantIsNull\(\)

[Fact] public Task ToggleRestaurantMenuState_ShouldReturnNotFoundException_WhenRestaurantIsNull()

Returns

Task

ToggleRestaurantMenuState_ShouldSetRestaurantStateToActive_WhenStateIsInactive\(\)

[Fact] public Task ToggleRestaurantMenuState_ShouldSetRestaurantStateToActive_WhenStateIsInactive()

Returns

Task

ToggleRestaurantMenuState_ShouldSetRestaurantStateToInactive_WhenStateIsActive\(\)

[Fact] public Task ToggleRestaurantMenuState_ShouldSetRestaurantStateToInactive_WhenStateIsActive()

Returns

Task

Last modified: 21 May 2024