public function testGetAllBooks()
 {
     // Arrange
     $this->initFixtures();
     factory(Book::class)->times(10)->create();
     // Act
     $books = $this->service->getAllBooks();
     // Assert
     $this->assertCount(10, $books);
 }
 public function index()
 {
     $books = $this->service->getAllBooks();
     return view('bookshelf/index', compact('books'));
 }