public function test_can_set_unique() { $this->relation->unique(); $this->assertTrue($this->relation->getJoinColumn()->isUnique()); }