Update mock entity manager signature to latest doctrine version