I have a use case where user should push an AJAX button, and then the page will reRender a form bellow it. I tried to simulate this behaviour in unit test, where two request happen in one conversation. The way I'm doing this is by creating two FacesRequest and run() them in one @Test method. The problem is that it seems that the 2 request are run in separate conversation.
How to make 2 or more FacesRequests (in the same method) run in the same conversation?