It’s either a bug or a valid change - we have to double check. One may argue that tests of this kind (with mocks) have too much in common with white-box unit testing from the mainstream practices.
The main testing techniques are black-box testing, white-box testing, and gray-box testing. Black-box testing focuses on the input and output of the software without knowing its internal structure ...