As the other two answers say, it depends on the level of abstraction that you need. Consider validation and extensibility. If the second object must be created using the Factory method, then yes. You combine both templates for collaboration. Just treat it like a black box, as you originally wanted.
Add more details if you want a more detailed answer from me.
source
share