Really? I already tested trait with PHPUnit 3.7. You have "getObjectForTrait" iirc