Fix non-parent-class mockStaticMethod