public void TestGetRootMapNotFieldMatch() { Query dummy = PqF("DUMMY"); FieldQuery fq = new FieldQuery(dummy, true, false); QueryPhraseMap rootMap1 = fq.getRootMap(Tq("a")); QueryPhraseMap rootMap2 = fq.getRootMap(Tq("a")); Assert.IsTrue(rootMap1 == rootMap2); QueryPhraseMap rootMap3 = fq.getRootMap(Tq("b")); Assert.IsTrue(rootMap1 == rootMap3); QueryPhraseMap rootMap4 = fq.getRootMap(Tq(F1, "b")); Assert.IsTrue(rootMap4 == rootMap3); }