public void SwitchRegistersParser() { _instanceUnderTest.Switch("-s", cfg => cfg.Map.ToProperty(opt => opt.Bool)); _instanceUnderTest.RuntimeCommand.MapArguments(NewParseContext("-s"), _testOptions, ParserType.Option); _testOptions.Bool.ShouldBeTrue(); }