public function test_can_set_onDelete() { $this->relation->onDelete('delete'); $this->assertEquals('delete', $this->relation->getJoinColumn()->getOnDelete()); }