public void Parser() { Parsers p1 = new Parsers(); Parsers p2 = new Parsers(); // https://en.wikipedia.org/wiki/Wikipedia_talk:AutoWikiBrowser/Bugs/Archive_10#NullReferenceException_in_HideText.AddBackMore string s1 = p1.HideText("<pre>foo bar</pre>"); string s2 = p2.HideText("<source>quux</source>"); Assert.AreEqual("<pre>foo bar</pre>", p1.AddBackText(s1)); Assert.AreEqual("<source>quux</source>", p2.AddBackText(s2)); // in the future, we may use parser objects for processing several wikis at once //Assert.AreNotEqual(p1.StubMaxWordCount, p2.StubMaxWordCount); }