packages/ztd-query-postgres/tests/Unit/Sql/Sampling/PgSqlTableSampleMethodTest.php
1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Sql\Sampling;
6
7use PHPUnit\Framework\Attributes\CoversClass;
8use PHPUnit\Framework\TestCase;
9use ZtdQuery\Platform\Postgres\Sql\Sampling\PgSqlTableSampleMethod;
10
11#[CoversClass(PgSqlTableSampleMethod::class)]
12final class PgSqlTableSampleMethodTest extends TestCase
13{
14 public function testMethodsUsePostgreSqlKeywords(): void
15 {
16 self::assertSame('BERNOULLI', PgSqlTableSampleMethod::Bernoulli->value);
17 self::assertSame('SYSTEM', PgSqlTableSampleMethod::System->value);
18 }
19}
20