How it is recommended to write tests in Java for Schedule in temporal?

I have read the temporal documentation. Can someone let me know what is the recommended way to test schedules?

Hi @tuk

I think for now, the best way is to spin up a real/test server

See comments on this issue TemporalTestServer add support to test schedules · Issue #1954 · temporalio/sdk-java · GitHub