TestUUID} TO {$this->TestUUID} AS test", actual: QueryBuilder::Link() ->RelativePath($this->TestUUID) ->To($this->TestUUID) ->As("test") ->Build() ); } public function test1() { self::assertEquals( expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test OVERWRITE", actual: QueryBuilder::Link() ->RelativePath($this->TestUUID) ->To($this->TestUUID) ->As("test") ->Overwrite() ->Build() ); } public function test2() { self::assertEquals( expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test REPLACE", actual: QueryBuilder::Link() ->RelativePath($this->TestUUID) ->To($this->TestUUID) ->As("test") ->Replace() ->Build() ); } public function test3() { self::assertEquals( expected: "LINK {$this->TestUUID} TO {$this->TestUUID} AS test FORCE", actual: QueryBuilder::Link() ->RelativePath($this->TestUUID) ->To($this->TestUUID) ->As("test") ->Force() ->Build() ); } public function test4() { self::assertEquals( expected: "LINK {$this->TestUUID} OF {$this->TestUUID} AS test", actual: QueryBuilder::Link() ->RelativePath($this->TestUUID) ->Of($this->TestUUID) ->As("test") ->Build() ); } /* public function test5() { self::expectException(QueryBuilderConflictingFieldAlreadyExistsException::class); self::assertEquals( expected: "LINK {$this->TestUUID} OF {$this->TestUUID} AS test", actual: QueryBuilder::Link() ->RelativePath($this->TestUUID) ->Of($this->TestUUID) ->As("test") ); } */ }