I just did it like this...
| ...
| @Override
| protected void invokeApplication() throws Exception {
| Exception ex = new Exception();
|
| try {
| invokeMethod("#{registeraccount.register}");
| } catch (Exception e) {
| ex = e;
| }
| assert ex.getCause() instanceof EJBTransactionRolledbackException;
| assert ex.getCause().getCause() instanceof RegisterAccountActionException;
| }
| ...
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073016#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...