-
Task
-
Resolution: Done
-
Medium
-
None
-
None
In the groovy tests in integration-test module, each test sets the object under test like this:
def objectUnderTest def setup() { objectUnderTest = cpsAdminService }
Intelli-J is unable to determine the type of objectUnderTest. Thus features such as JavaDocs, suggestions, and error highlighting for incorrect arguments are disabled.
Rather, the IDE says "No candidates found for method call objectUnderTest.createDataspace".
By changing objectUnderTest to the exact type, the IDE knows the type and enables all features:
CpsAdminService objectUnderTest
def setup() { objectUnderTest = cpsAdminService }