I had similar issue. I was loading fixtures during tests, my controllerTest did not get correct collection on related "chatUsers" property. I had to add $entityManager->clear(); on test file after loading fixtures and everything is just fine! Thanks gvlasov for your tip!