The day before updating IDEA to ULTIMATE 2017.2, I was able to run all tests successfully using kotlinVersion = 1.1.2-2 in build.gradle. Since updating, I receive the following message on all references to internal class methods in my tests:
I am still seeing this issue with the latest IntelliJ Ultimate version (Not working for me):
IntelliJ IDEA 2017.2.1
Build #IU-172.3544.35, built on July 31, 2017
JRE: 1.8.0_152-release-915-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
And Kotlin plugin (1.1.4-eap-54-IJ2017.2-1).
macOS: Sierra (Version: 10.12.16) 16G29
It was also giving me error on Using API version 1.1 features while my Kotlin Compiler setting was at 1.1. I had to go back to an older version on IntelliJ which helped me overcome the issue. Looks like the very recent update built on July 31, 2017 has some regressions related to Kotlin lang support.
Stable working version of IJ
IntelliJ IDEA 2017.2
Build #IU-172.3317.76, built on July 15, 2017
JRE: 1.8.0_152-release-915-b5 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6