Is there a way to test DataConverters/PayloadCodecs with TestWorkflowEnvironment?

Hi All,

I think I’m relatively clear on the DataConverter/PayloadCodecs mechanism in general, but I couldn’t see a way to test them against the TestWorkflowEnvironment in the java-sdk. I am not sure if I am looking in the wrong place or if its just not possible.

Thank you,

-Greg

Could you be more specific, what’s the issue with using the custom DataConverter in TestWorkflowEnvironment that you face?

TestWorkflowRule has #setWorkflowClientOptions. And WorkflowClientOptions carries the custom DataConverter. The final test assembly will be utilizing this custom data converter. For both the workers and the client.

Ah, I missed that. Thank you!

-Greg