The gist of the situation is as follows. In a comparison of Glassfish and WildFly/JBoss, I managed to pass a simple CDI test when using embedded Glassfish + Arquillian. However, when I switched to embedded WildFly 8.0 + Arquillian, the same test failed. I can't figure out why.
The question has been posted on StackOverflow. I apologize for the inconvenience to direct you to another page. Please take a look at the SO post and the Github repository that hosts the entire test code.
Many thanks.