TestCaseDatabase::getMockSession

Gets a mock session object.