Updated TestCase::getMockForModel() to return Table instance
Merge pull request #2366 from ADmad/3.0-testcase-mockformodel

Updated TestCase::getMockForModel() to return Table instance