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
592 B
21 lines
592 B
4 weeks ago
|
<?php
|
||
|
|
||
|
|
||
|
use Darksparrow\DeegraphInteractions\Exceptions\QueryBuilderConflictingFieldAlreadyExistsException;
|
||
|
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilder;
|
||
|
use PHPUnit\Framework\TestCase;
|
||
|
|
||
|
final class QueryBuilderDirectoryTest extends TestCase
|
||
|
{
|
||
|
public function testReferenceQuery()
|
||
|
{
|
||
|
$query = QueryBuilder::Directory()
|
||
|
->RelativePath("{00000000-0000-0000-0000-000000000000}")
|
||
|
->Build();
|
||
|
self::assertEquals(
|
||
|
expected: 'DIRECTORY {00000000-0000-0000-0000-000000000000}',
|
||
|
actual: $query
|
||
|
);
|
||
|
}
|
||
|
}
|