public static function compare($expected, $actual, $strict = true)
    {
        try {
            self::calculateDiff($expected, $actual, $strict);
        } catch (\Exception $exception) {
            $instance = new DifferentValuesException(
                $expected,
                $actual,
                $strict,
                'The values differ.',
                0,
                $exception
            );
            throw $instance;
        }
    }