<?php
/**
 * @author Daniel J. Summers <daniel@bitbadger.solutions>
 * @license MIT
 */

declare(strict_types=1);

use BitBadger\PDODocument\FieldMatch;

pest()->group('unit');

describe('->toSQL()', function () {
    test('returns AND for All', function () {
        expect(FieldMatch::All)->toSQL()->toBe('AND');
    });
    test('returns OR for Any', function () {
        expect(FieldMatch::Any)->toSQL()->toBe('OR');
    });
});