I have a few SessionScoped beans that I would like to test and it occurred to me that I am not testing what happens when they get passivated.
I would very much like to resolve this gap within the integration testing. However, there doesn't seem to be easy to find documentation on this.
I have found a question with regards to how to do with OpenEJB but I don't think that'll work for me.
Ideally, I would like a platform independent way that works with Arquillian but I will settle for something that'll work with JBoss 7.x.