Issue #3232714 by paulocs, vsujeetkumar, mondrake, longwave, quietone,...
Issue #3232714 by paulocs, vsujeetkumar, mondrake, longwave, quietone, larowlan: Replace, in tests, mocks that do not configure doubles with their actual objects
(cherry picked from commit de4c1e82)