assertClass() is deprecated, please use `assertInstanceOf($type, $value)`