The testcase is not valid. It is not portable to have multiple classes of the same name within the deployment. Weld currently does not support this but it's being done as part of WELD-1259. The valid testcase is at https://github.com/weld/core/blob/2.0/tests-arquillian/src/test/java/org/jboss/weld/tests/enterprise/validation/MultiwarProjectNameValidationTest.java
The testcase is not valid. It is not portable to have multiple classes of the same name within the deployment. Weld currently does not support this but it's being done as part of WELD-1259. The valid testcase is at https://github.com/weld/core/blob/2.0/tests-arquillian/src/test/java/org/jboss/weld/tests/enterprise/validation/MultiwarProjectNameValidationTest.java