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);
}