I never said you would write 0 unit tests. You would write no tests for types.
Kotlin has nullability built into the language, so I don't have to write a test what happens when the variable I am passing is null.
I also don't have to do defensive programming and check if the variable is null.
I never check the variable I pass is null, mostly because I am sober enough to not pass nulls where they don’t belong. In CS variables do not become null all of a sudden.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.