for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace TBolier\RethinkQL\UnitTest\Query;
use PHPUnit\Framework\TestCase;
use TBolier\RethinkQL\Query\Expr;
class ExprTest extends TestCase
{
/**
* @var Expr
*/
private $expr;
* @return void
public function setUp(): void
$this->expr = new Expr('foo');
}
public function testGetQuery(): void
$this->assertEquals('foo', $this->expr->getQuery());
public function testJsonSerialize(): void
$this->assertEquals('foo', $this->expr->jsonSerialize());