public static function propertyExists($classOrObject, $property, $message = '')
{
if (!property_exists($classOrObject, $property)) {
static::reportInvalidArgument(sprintf($message ?: 'Expected the property %s to exist.', static::valueToString($property)));
}
}