Changed self::assertType() to self::assertInternalType()

In newer PHPUnit versions, the method `assertType` is not implemented anymore. This PR changes `self::assertType()` to `self::assertInternalType()`.

Cheers
:octocat: Jérôme