public void FlipUpCommandShouldSetLightStateToOn() { var expectedStatus = false; Light light = new Light(); InterpreterPattern.ICommand commandA = new FlipDownCommand(light); LightSwitch lightSwitch = new LightSwitch(); lightSwitch.SetAndExecuteCommand(commandA); light.State.Should().Be(expectedStatus); }