Testing JavaDelegate with JUnit and CDI

Hello,

I would like to test my JavaDelegates with JUnit. My JavaDelegates are using CDI.
Is there any documentation available about how to test this? Also is there documentation on how to test the engine with CDI ?