Ther problem is that all of our code is called by reflection, with intefaces decided years ago. So nothing can be passed in the constructors.
Yesterday I was trying to mock the ElementTemplateMasterService to return a new response. But with this mornings refactor I am only trying to maock the FlexifieldMaster, but it is still an object I have no control over the instantiation of.
This is the test I am trying to fix (currently in progress trying to sort out an answer):
this is the method I am trying to stub out (on FlexiFieldMaster)