Fix test for phpunit 5.7.
Fix test for phpunit 5.7.

davidyell/cakephp,garethellis36/cakephp,cakephp/cakephp,garethellis36/cakephp,tenkoma/cakephp,dakota/cakephp,cakephp/cakephp,garethellis36/cakephp,ADmad/cakephp,dakota/cakephp,dakota/cakephp,petteyg/cakephp,garethellis36/cakephp,ndm2/cakephp,ndm2/cakephp,petteyg/cakephp,tenkoma/cakephp,petteyg/cakephp,CakeDC/cakephp,cakephp/cakephp,ndm2/cakephp,ndm2/cakephp,ADmad/cakephp,tenkoma/cakephp,CakeDC/cakephp,cakephp/cakephp,ADmad/cakephp,mvdriel/cakephp,davidyell/cakephp,tenkoma/cakephp,mvdriel/cakephp,CakeDC/cakephp,mvdriel/cakephp,ADmad/cakephp,mvdriel/cakephp,dakota/cakephp,petteyg/cakephp,CakeDC/cakephp,davidyell/cakephp