add the ability to orphanise constructor and fail at runtime to both getAdapter and getAdapterClass
common method to get the mock
revert php 5.4 array style
remove function getMock considered useless
remove test on getMock method
Small tests reorganization
Merge pull request #24 from M6Web/feature/common-getMock-method

getMock method