I just published a free sample lesson of my Test With Spring course. After we have finished this lesson, we understand how we can write unit tests for a REST API which returns data as Json by using Kotlin and JUnit 5.
Watch the Lesson
P.S. You can get the example application from Github.