I am trying to add a JUnit5 test case using TestWorkflowEnvironment in Java. I have mocked the activity that is supposed to get called in the workflow being tested. And it was getting stuck at the line where the activity is invoked and not moving forward. After some time the test case ends but activity invocations were still 0 even after completion. I have tried adding debug point and it is reaching the line where activity gets called but doesn’t go to the next line. Having checked the pending activity status using the DescribeWorkflowExecution, it is PENDING_ACTIVITY_STATE_SCHEDULED. Some help would be appreciated. Thanks!!