18 lines
No EOL
350 B
PHP
18 lines
No EOL
350 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Arendsen\FluxQueryBuilder\Function\Limit;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
final class LimitFunctionTest extends TestCase {
|
|
|
|
public function testSimpleLimit()
|
|
{
|
|
$expression = new Limit(1);
|
|
|
|
$query = '|> limit(n:1) ';
|
|
|
|
$this->assertEquals($query, $expression->__toString());
|
|
}
|
|
|
|
} |