public bool TryParseWithoutReplacementPassesSuccessfullyParsed(bool innerSuccess)
        {
            var inner = StringParserTestUtils.MockParser("stat", innerSuccess, "", "").Object;
            var sut   = new StatReplacingParser <string>(inner, _statReplacers);

            var(actual, _, _) = sut.Parse("stat");

            return(actual);
        }
Exemplo n.º 2
0
        public void IsIParserIReadOnlyList()
        {
            var sut = new StatReplacingParser <string>(null, _statReplacers);

            Assert.IsInstanceOf <IStringParser <IReadOnlyList <string> > >(sut);
        }