Fix of "Internal classes cannot be mocked without invoking their constructor in PHP 5.4.29/5.5.13" unit tests failure on Travis CI

After the fix builds are green: https://travis-ci.org/orlangur/magento2