We had a debate - Opposition and professional to have a factory per DTO to test some service. The idea is that the service is being implemented with primitive types of parameters (user name, password, etc.), but service dependencies should be leverage by using those priorities. The only way to test it was to use an additional dependency in the service, DTOFTTC, and to ensure that the use of primitive parameters was used by the way we wanted it. What do I worry about "factory X per decox" is the idea of what would be an option? Thanks
Does not use this model? I think you can read some criticisms of that structure online.
Did not you write a generic factory?
Comments
Post a Comment