    @Test
    public void getFullBookTest() {

        BusinessLogic logic = new BusinessLogic();
        logic.setDao(dao);

        Book actualBook1 = logic.getFullBook(new Book(1L, null, null));
        verify(dao).getBookById(1L);
        assertEquals(book1, actualBook1);


        Book actualBook2 = logic.getFullBook(new Book(null, "Java For Middle", null));
        verify(dao).getBookByName("Java For Middle");
        assertEquals(book2, actualBook2);
    }