I have a service written in Kotlin, which doesn't let you assign a non-nullable parameter to null. Unfortunately, my client code is in a different language which doesn't care whatsoever for Kotlin's rules, so the service gets calls pretty frequently with null values in requests. These are currently not handled gracefully.
I need a way to integration test requests like this with null required parameters, but my integration tests are in Kotlin so I can't even instantiate these bad requests. Is there any way I can get Kotlin's null-safety to look the other way, just for the tests?