public void TestFixAreaPath_WhenNoAreaPathOrNodeBasePaths_DoesntChangeQuery()
        {
            string WIQLQueryBit = @"AND  [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan')";

            string[] nodeBasePaths      = null;
            string   targetWIQLQueryBit = WorkItemMigrationContext.FixAreaPathInTargetQuery(WIQLQueryBit, "SourceServer", "TargetServer", nodeBasePaths, null);

            Assert.AreEqual(WIQLQueryBit, targetWIQLQueryBit);
        }
        public void TestFixAreaPath_WhenAreaPathInQueryAndNodeBasePathsIsMoreSpecific_DoesntChangeQuery()
        {
            string WIQLQueryBit = @"AND [System.AreaPath] = 'SourceServer\Area\' AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan')";

            string[] nodeBasePaths = { "SourceServer\\Area\\Path1", "SourceServer\\Area\\Path2" };

            string targetWIQLQueryBit = WorkItemMigrationContext.FixAreaPathInTargetQuery(WIQLQueryBit, "SourceServer", "TargetServer", nodeBasePaths, null);

            Assert.AreEqual(WIQLQueryBit, targetWIQLQueryBit);
        }