Make mockEscape() static