LightJavaCodeInsightFixtureTestCase - resolve methods are returning null always

I'm trying to test my custom content assist for Java extending LightJavaCodeInsightFixtureTestCase , but sometimes it does not work as expected.

Methods like PsiClassType.resolve() or PsiMethodCallExpression.multiResolve() always returns null for me somewhy, even when called for JDK classes.

 

Am I dong smth wrong, or I need to use some other base class for my tests?

Please sign in to leave a comment.