Improved the `assertInstanceOf` error message to correctly state "class" or "interface" instead of always "class" to things.