I have a question about the second and third patterns.
Should I test delete for example if currently my
application doesn't need to delete the entity?
Yes, I am rolling everything back using what you call an
"Abstract Utility Class". Our data layer uses the common
approach of passing a generic type to provide CRUD
functionality "for free" for a given entity. My question
is really about YAGNI - should I write a test for
functionality that I don't currently need?
Jason:
either you derive and implement the abstract method with
nothing in the body, or create a separate utility class
for your scenarios..