Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

WicketTester CDI and WicketApplication

$
0
0
Hi All

I am having difficulty finding information on how I can create a CDI
context for use in my tests. Is there some kind of way of creating a
mock cdi environment for testing. Currently my tests fail trying to
retrieve the CDI Bean Manager as this is normally controlled by the Web
Application Container.

Do I need to create a mock Web Application class which simulates a dummy
Bean Manager? Is there any guides specific to Wicket?

Thanks

David

Viewing all articles
Browse latest Browse all 5648

Trending Articles