Пример #1
0
        public async Task SignatureHelpForUnloadedDocumentReturnsNull()
        {
            var documentItem  = CreateTestDocument("");
            var signatureHelp = await RequestSignatureHelpAsync(documentItem, (7, 11));

            Assert.IsNull(signatureHelp);
        }
Пример #2
0
        public async Task SignatureHelpForUnloadedDocumentReturnsNoSignatures()
        {
            var documentItem  = CreateTestDocument("");
            var signatureHelp = await RequestSignatureHelpAsync(documentItem, (7, 11));

            var signatures = signatureHelp.Signatures.ToArray();

            Assert.AreEqual(0, signatures.Length);
        }