Good day everyone, I have been looking into Test Driven Development a lot in the past few days and decided that I need to learn it as well. Although I can not figure out how to do it precisely. My project depends on the Symfony2.1.6 framework and Doctrine so I have some Database-tables that needs filling. Book (1,n) - (0,n) Genre Now if I want to insert a Genre-record I first need to write a test to ensure everything is being inserted as it should (or am I wrong?) The problem now is that I dont know how to access my Database as it is managed by the framework. The only thing I could find was