Lifecycle.mockApplication();
| try
| {
| // code that accesses application context goes here
| }
| finally
| {
| Lifecycle.unmockApplication();
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094336#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...