I get the idea behind unit testing however am trying to think of a clean simple way do it when it requires database functionality. For instance I have a function that return re
It is not a unit test if it needs the database.