User1120430333 posted
Using datasets and datatables in Web applications is not an optimal choice that I have experienced.
https://dzone.com/articles/reasons-move-datatables
https://www.codingblocks.net/programming/boxing-and-unboxing-7-deadly-sins/
Myself, I have done a lot of unit testing and mocking as a contractor or as a fulltime employee in various companies. I have never seen a dataset and datatable being used in a unit test or mocked. I have never seen a collection with custom objects
being mocked either, but I have seen a collection of custom objects being arranged with test data being used in unit tess, becuase a collection of custom objects was being used in the program.