Hey guys
I'm trying to introduce Unit testing and TDD into my code (working as one of a team within a large pre-existing project).
The project I'm working on uses XSDs to do a lot of the data access (often with no abstraction, i.e. database calls from the .aspx.cs pages, which is another issue I wish to address at some point).
My question is: how can I mock database access using XSDs within my unit tests?
as they're strongly typed it's not as simple as just adding an interface with Update() or Insert() methods, as each XSD DataTableAdapter has different arguments for its various methods.
Does anyone have any suggestions?