I am using Arquillian to test an application packaged as ear with a jar and a war. My first unit test was to test the injection of a bean hosted in the jar but that the war is going to need. However when I do the @Inject in the unit test(running from the web project) The bean is always null. Do I need to add something to the confuration to handle this?

Am I doing anything wrong with my deploy methods? I can't even seem to inject BeanManager. Do I need to do something else to setup my beans.xml in this case(I have tried doing a copy of a blank one as well)