/**
  * @dataProvider unsetRelationProvider
  */
 public function testUnsetRelationHasOne($value)
 {
     $book = new Book($this->conn, ['id' => 3]);
     $details = new BookDetails($this->conn, ['books_id' => 5]);
     $book->associateRelation('details', $details);
     $this->assertSame(3, $details->books_id);
     $this->assertSame($details, $book->details);
     $book->unsetRelation('details', $value);
     $this->assertSame($value, $details->books_id);
     $this->assertFalse($book->details);
 }