Pass by reference of getRelated obj /w other

Prepare dataAccess for Unittest