Description
When user starts test generation for Kotlin code UTBot creates .kt file and put there Java code which obviously cannot be compiled.
To Reproduce
Steps to reproduce the behavior:
- Open UTBot Java project
- In UTBot settings set "Generated test language" = "Kotlin"
- Invoke test generation for
org/utbot/examples/codegen/FileWithTopLevelFunctions.kt
Expected behavior
Functional Kotlin tests are generated.
Actual behavior
FileWithTopLevelFunctionsKtTest.kt created with Java code which cannot be executed.
Visual proofs (screenshots, logs, images)

Description
When user starts test generation for Kotlin code UTBot creates
.ktfile and put there Java code which obviously cannot be compiled.To Reproduce
Steps to reproduce the behavior:
org/utbot/examples/codegen/FileWithTopLevelFunctions.ktExpected behavior
Functional Kotlin tests are generated.
Actual behavior
FileWithTopLevelFunctionsKtTest.ktcreated with Java code which cannot be executed.Visual proofs (screenshots, logs, images)
