Replaced the deprecated function to another which is supported in a newer release of PHPUnit.
Replaced the deprecated function to another which is supported in a newer release of PHPUnit.

yanoosh/yTools