Correct, since your unittest ends (how can the test know it has to wait for something.....
If you e.g. build in a Thread.sleep(1000) loop endlessly and check in the loop if the task
has ended (do a break then) it could work. That is *not* the way unittests are *normally*
used though. The user is also 'simulated' in the unittest.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258820#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...