<?php

it('keeps db object Redis access namespace safe', function (): void {
    $content = file_get_contents(WD . '/traits/db_object_t.php');

    expect($content)
        ->not->toContain('redis->')
        ->and($content)->toContain("constant('redis')");
});
