Classes Summary
DbTestCase Database test case. Tests that need access to Doctrine's entity manager (e.g. for writing to and querying the database) should extend off this class. For every test, this starts a transaction during setUp, and rolls back any changes to the database during tearDown. A fresh database should have been installed when bootstrapping PHPUnit.
TestCase Helper methods for building commonly used mock objects for testing. The idea is to first set the mock objects to variables and then set their expectations according to the specific test case.