Mocking HasHeartbeatDetails method for the unit test cases

Hello Team,
we want to mock HasHeartbeatDetails method for our unit test cases. otherwise it is throwing below error.

panic: getActivityOutboundInterceptor: Not an activity context

and there is no proper suit method available to mock HasHeartBeatDetails in this go.temporal.io/sdk/testsuite lib.

Use TestActivityEnvironment to unit test activities.

@maxim , I encountered an error while using the TestActivityEnvironment to create a test environment. I registered my activity with the RegisterActivity method and invoked the method with the ExecuteActivity method, which includes HasHeartbeatDetails. When passing the context, it throws the following error: “panic: getActivityOutboundInterceptor: Not an activity context.”