Ah! You should return a Doctrine ArrayCollection in the mock too then, no?