Do all the root directories that have components you want to use have a seam.properties file?
Thanks a lot for this advice. I must say you are right, I completely forgot about seam.properties - I did not put it to src-test folder, thus build-test did not contain this file. This is solved for now.
Is there anything else that needs to be configured to get this to work. I am running seam 2.2.1 and have a a jar with just the mock code, which I include in my EAR. It runs the non mock precedented managed bean everytime.