Exemplo n.º 1
0
 public SetNodeParser(
     IVarSetParser varSetParser,
     IElementParser elementParser,
     IVarSetTextParser varSetTextParser
     )
 {
     this.varSetParser  = varSetParser;
     this.elementParser = elementParser;
     Settings           = ElementParserSettings.Normal(varSetTextParser);
 }
Exemplo n.º 2
0
    public SetNodeParserTests()
    {
        reader        = A.Dummy <XmlReader>();
        context       = A.Fake <IParsingContext>(i => i.Strict());
        parentContext = new();

        varSetParser     = A.Fake <IVarSetParser>(i => i.Strict());
        elementParser    = A.Fake <IElementParser>(i => i.Strict());
        varSetTextParser = A.Fake <IVarSetTextParser>(i => i.Strict());
        sut = new(varSetParser, elementParser, varSetTextParser);
    }