I'm looking for the way to inject InitialContext and AS7 ServiceContainer into Arquillian junit testcase. With following testcase, ServiceContainer was null and InitlaContext failed to lookup from AS7 instance. Could you let me know if you find my mistake?

Injection succeeded once I removed the beans.xml from @Deployment and changed the field accessibility to public, Thanks @aslak !!

hmm, but should it be public anyway when I need to perform injection ???

And then I'm seeing next error ... It seems that is class accessibility problem in the AS7. Some testcases in the AS7 testsuite are doing same thing(ex. PureTestCase in the testsuite/integration/smoke), so should be able to do though... maybe I need to ask it to the AS7 community.

I couldn't find MANIFEST.MF for PureTestCase. I have noticed there is no module directory in the jbossHome for as7 testsuite/integration/smoke, so I may need some trick to achieve this, and it may not be applicable for our SwitchYard testkit ...