PerformResultInsertion() public method

public PerformResultInsertion ( string input, IntellisenseProviderContext context ) : string
input string
context Dev2.Studio.Core.Interfaces.IntellisenseProviderContext
return string
        public void FileSystemIntellisenseProvider_ExecuteInsertion(int caretPosition, string inputText, string inserted, string expected)
        {
            //------------Setup for test--------------------------
            var fileSystemIntellisenseProvider = new FileSystemIntellisenseProvider();

            //------------Execute Test---------------------------
            var context = new IntellisenseProviderContext
            {
                CaretPosition = caretPosition,
                InputText = inputText,
                IsInCalculateMode = false,
                DesiredResultSet = IntellisenseDesiredResultSet.ClosestMatch
            };

               var resp =  fileSystemIntellisenseProvider.PerformResultInsertion(inserted, context);
            //------------Assert Results-------------------------
            Assert.AreEqual(resp, expected);
        }
 public void FileSystemIntellisenseProvider_PerformResultInsertion_ContextIsNull_ThrowsException()
 {
     //------------Setup for test--------------------------
     var fileSystemIntellisenseProvider = new FileSystemIntellisenseProvider();
     //------------Execute Test---------------------------
     fileSystemIntellisenseProvider.PerformResultInsertion("", null);
 }