title: How to unit test database depended behavior C#
body: <p><br>
  I have a C# application which communicates with DB. I want to test some functions which depend on DB. So I want to be sure that DB has an initial state before each test run. I use NUnit to test my application. What means are available to restore an initial state of DB?<br>
  Thank you for your help!</p>