Issue #3481539 by mondrake: Method getMockForAbstractClass() is deprecated - replace in EntityUrlTest (cherry picked from commit 55bab340)