This
IMethodInterceptor fixes one or the other problem with CDI TCK test suite execution:
- Run tests from single test class - it seems that Maven Surefire plugin is not able to run single test that is located outside src/test dir. If test class
system property is set all test methods that don't belong to specified test class are excluded.
- Avoid randomly mixed test method execution - causing test archive deployments collisions. If test class system property is not set group test methods by
test class.