upgraded phpunit from a very old version

Convert assertType to assertInternalType