This question already has an answer here:
Say there is a class Vehicles which is dependent on another class Roads.
Should I mock the Roads class and send it as a parameter to Vehicles for unit testing? OR Should I just create a new object and send it as a parameter to Vehicles?
If I change the Roads class I will have to change the mocking every where?
Should I use a factory to create mocked objects?