You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
595 B

4 weeks ago
<?php
use Darksparrow\DeegraphInteractions\Exceptions\QueryBuilderConflictingFieldAlreadyExistsException;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilder;
use PHPUnit\Framework\TestCase;
final class QueryBuilderReferencesTest extends TestCase
{
public function testReferenceQuery()
{
$query = QueryBuilder::References()
->RelativePath("{00000000-0000-0000-0000-000000000000}")
->Build();
self::assertEquals(
expected: 'REFERENCES {00000000-0000-0000-0000-000000000000}',
actual: $query
);
}
}