Hotfix #2 for the tests failing on hhvm due to mockery error.