private void ReplaceMappedTestCaseHandler(ALMTestCaseManualMappingConfig source, ALMTestCaseManualMappingConfig target)
        {
            mWizard.ClearStepsLists(source);
            mWizard.ClearStepsLists(target);
            ALMTSTest targetTemp = target.aLMTSTest;

            // Map test case to Map row.
            target.UpdateMappedTestCase(source.aLMTSTest);
            // Replace target with source.
            source.UpdateMappedTestCase(targetTemp);
        }
 private void UnMapTestCaseHandler(ALMTestCaseManualMappingConfig source)
 {
     if (source.aLMTSTest is null)
     {
         return;
     }
     mWizard.ClearStepsLists(source);
     // Add test case to unmapped list
     mWizard.testCasesUnMappedList.Add(source.aLMTSTest);
     // Remove test case from Map row.
     source.UpdateMappedTestCase(null);
 }
 private void MapTestCaseHandler(ALMTSTest source, ALMTestCaseManualMappingConfig target)
 {
     if (source is null)
     {
         return;
     }
     // if target already mapped, Add to unmapped list.
     if (target.aLMTSTest is not null)
     {
         mWizard.ClearStepsLists(target);
         mWizard.testCasesUnMappedList.Add(target.aLMTSTest);
     }
     // Map test case.
     target.UpdateMappedTestCase(source);
     // Remove test case from unmapped list.
     mWizard.testCasesUnMappedList.Remove(source);
 }