TestCase::getMockDatabase

Gets a mock database object.