How do you write a test case for the setTaskQueue(Activity option) method at the method level in JUnit 5 in Java?

When I call from the Python activity to the Java activity, the task queue is already set based on the Python task queue. How do I write a test case for setting the task queue (Activity option)?
Given code
ActivityOptions options = ActivityOptions.newBuilder() .setScheduleToStartTimeout(Duration.ofSeconds(30))
.setTaskQueue(“PythonActivity”)
.build();

Please can you assist with the code?
Thanks in advance

You have to create the worker explicitly. See the fileprocessing unit test.