Issue #3483577 by mondrake: Method getMockForAbstractClass() is deprecated - replace in class EntityFormTest (cherry picked from commit e22cc21e)
#347060