Hi:
I have a unit testcase which contains the following codes. It has passed with the old version of HK2 but always returns null with HK2 v2.0.
habitat.getByType(ApplicationArchivist.class);
Who has an example about how to initialize the Habitat with new HK2 in unit testing environment?
Regards
cid:CDF643B8-3803-4A72-AB35-BE2FD51C3CDC
Dapeng Hu | Senior Techinical Staff | 86-10-61065511
Oracle Weblogic Server Development
Oracle Building | Zhongguanchun Software Park | Bejing, 100193, P.R.C