public void SetParser_SingleOutput_Test() { var anyParser = Any(); var failParser = Fail <char>(); var target = new Replaceable <char, char> .SingleParser(failParser); target.SetParser(anyParser); var input = new StringCharacterSequence("abc"); var result = target.Parse(input); result.Value.Should().Be('a'); }