Great. Actually this is what differentiate between unit and integration testing. If you rely on something else aside from "scope" you are suppose to test then might as well mock it. ;) I'm currently learning testing logic. This is a great advice! Indeed!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.