Lucene.Net.Analysis.TestMockAnalyzer.TestWrapReader C# (CSharp) Method

TestWrapReader() private method

private TestWrapReader ( ) : void
return void
        public virtual void TestWrapReader()
        {
            // LUCENE-5153: test that wrapping an analyzer's reader is allowed
            Random random = Random();

            Analyzer @delegate = new MockAnalyzer(random);
            Analyzer a = new AnalyzerWrapperAnonymousInnerClassHelper(this, @delegate.Strategy, @delegate);

            CheckOneTerm(a, "abc", "aabc");
        }