EZP-21767: 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()`.

https://jira.ez.no/browse/EZP-21767

Cheers
:octocat: Jérôme