Achieving decoupling in Model classes
- by Guven
I am trying to test-drive (or at least write unit tests) my Model classes but I noticed that my classes end up being too coupled. Since I can't break this coupling, writing unit tests is becoming harder and harder.
To be more specific:
Model Classes: These are the classes that hold the data in my application. They resemble pretty much the POJO…