#25090Cleanup: Replace deprecated assertType in unit tests
Description
“assertType() will be removed in PHPUnit 3.6 and should no longer be used. assertInternalType() should be used for asserting internal types such as “integer” or “string” whereas assertInstanceOf() should be used for asserting that an object is an instance of a specified class or interface.”
I’ll attach a patch that replaces all assertType calls with the new assertInstanceOf or assertInternalType methods.
(issue imported from #M17657)