public void DebuggerSourceMap_Add_With_Remove()
        {
            var          codeModel = new CodeModel();
            ISourceMap   sourceMap = new DebuggerSourceMap(codeModel);
            const string item      = "test-item";

            var sourceRange = new SourceRange
            {
                Designer   = "testDesigner",
                Path       = "/test/path",
                StartPoint = new SourcePoint(0, 0),
                EndPoint   = new SourcePoint(10, 10)
            };

            // Add the item to the map.
            sourceMap.Add(item, sourceRange);
            Assert.True(sourceMap.TryGetValue(item, out _));

            // Add the same item so it removes it from the map before adding it again.
            sourceMap.Add(item, sourceRange);
            Assert.True(sourceMap.TryGetValue(item, out _));
        }
        public void DebuggerSourceMap_Add()
        {
            var          codeModel = new CodeModel();
            ISourceMap   sourceMap = new DebuggerSourceMap(codeModel);
            const string item      = "test-item";

            var sourceRange = new SourceRange
            {
                Designer   = "testDesigner",
                Path       = "/test/path",
                StartPoint = new SourcePoint(0, 0),
                EndPoint   = new SourcePoint(10, 10)
            };

            sourceMap.Add(item, sourceRange);

            Assert.True(sourceMap.TryGetValue(item, out _));
        }