EZP-21767: assertType() to assertInternalType()