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.

27 lines
852 B

<?php
use Darksparrow\DeegraphInteractions\Exceptions\QueryBuilderConflictingFieldAlreadyExistsException;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilder;
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilderTrait;
use Darksparrow\DeegraphInteractions\DataStructures\UUID;
use PHPUnit\Framework\TestCase;
class UUIDTest extends TestCase
{
private string $ExampleUUID = "12345678-ACDE-EFAB-CDEF-123456123456";
public function testValidUUID()
{
self::assertEquals(
expected: "{" . $this->ExampleUUID . "}",
actual: strval(new UUID($this->ExampleUUID)),
);
}
public function testValidUUID2()
{
self::assertEquals(
expected: "{" . $this->ExampleUUID . "}",
actual: strval(new UUID("{" . $this->ExampleUUID . "}")),
);
}
}