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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -