Added support for mock injection via setters