public function testHasRelationThrowsExceptionForInvalidName()
 {
     $book = new Book($this->conn);
     $this->setExpectedException('\\Exception');
     $book->hasRelation('foo');
 }