This is a different order from the case @JonRowe included in #529: in his example, the `instance_double` was created first, and then the constant was stubbed.

Does this fix it for that ordering too?