1
0
Fork 0

CompletionTest fixed

pull/682/head
Gabriel Noé González 2018-11-11 00:33:17 +01:00
parent fd9d326c7a
commit 8d4fe1ef9f
1 changed files with 11 additions and 0 deletions

View File

@ -827,12 +827,23 @@ class CompletionTest extends TestCase
'\TestClass', // Type of the property '\TestClass', // Type of the property
'Reprehenderit magna velit mollit ipsum do.' 'Reprehenderit magna velit mollit ipsum do.'
), ),
new CompletionItem(
'protectedProperty',
CompletionItemKind::PROPERTY,
'\TestClass', // Type of the property
'Reprehenderit magna velit mollit ipsum do.'
),
new CompletionItem( new CompletionItem(
'testMethod', 'testMethod',
CompletionItemKind::METHOD, CompletionItemKind::METHOD,
'\TestClass', // Return type of the method '\TestClass', // Return type of the method
'Non culpa nostrud mollit esse sunt laboris in irure ullamco cupidatat amet.' 'Non culpa nostrud mollit esse sunt laboris in irure ullamco cupidatat amet.'
), ),
new CompletionItem(
'protectedTestMethod',
CompletionItemKind::METHOD,
'mixed' // Return type of the method
),
new CompletionItem( new CompletionItem(
'foo', 'foo',
CompletionItemKind::PROPERTY, CompletionItemKind::PROPERTY,