In MassTransit documentation, I saw an example of testing a state machine saga with a bus, but there was no example of doing it with a Kafka rider. Whether you do it the same way, or should it be done differently?
There are no test harnesses for riders, only for the supported transports.
You can look at the state machine unit tests for Kafka in the unit tests project.