phpunit - Force loading of extra-lazy assoc in Doctrine2 for unit testing (no DQL) -


i'm running small problem unit testing in symfony2. have few associations marked extra-lazy, fine.

however, when testing them, don't loaded (of course), means assertions fail. i'm not doing dql, entity testing.

how can tell doctrine ignore extra-lazy tag unit testing alone ?


Comments