// Path: src/test/java/com/edwise/completespring/testutil/BookBuilder.java
// public class BookBuilder {
// 
//     private final Book book;
// 
//     public BookBuilder() {
//         book = new Book();
//     }
// 
//     public BookBuilder id(Long id) {
//         book.setId(id);
//         return this;
//     }
// 
//     public BookBuilder title(String title) {
//         book.setTitle(title);
//         return this;
//     }
// 
//     public BookBuilder authors(List<Author> authors) {
//         book.setAuthors(authors);
//         return this;
//     }
// 
//     public BookBuilder isbn(String isbn) {
//         book.setIsbn(isbn);
//         return this;
//     }
// 
//     public BookBuilder releaseDate(LocalDate releaseDate) {
//         book.setReleaseDate(releaseDate);
//         return this;
//     }
// 
//     public BookBuilder publisher(Publisher publisher) {
//         book.setPublisher(publisher);
//         return this;
//     }
// 
//     public Book build() {
//         return book;
//     }
// }


import com.edwise.completespring.testutil.BookBuilder;
import org.junit.Test;
import java.time.LocalDate;
import java.util.Collections;
import static org.assertj.core.api.Assertions.assertThat;
package com.edwise.completespring.entities;




public class BookTest {

    private static final long BOOK_ID_TEST1 = 31L;
    private static final String BOOK_TITLE_TEST1 = "Lord of the Rings";
    private static final String BOOK_TITLE_TEST2 = "Bautismo de Fuego";
    private static final String AUTHOR_NAME_TEST1 = "J.R.R.";
    private static final String AUTHOR_SURNAME_TEST1 = "Tolkien";
    private static final String BOOK_ISBN_TEST1 = "11-333-12";
    private static final String BOOK_ISBN_TEST2 = "21-929-34";
    private static final String PUBLISHER_NAME_TEST1 = "Editorial Planeta";
    private static final String PUBLISHER_NAME_TEST2 = "Gigamesh";
    private static final String PUBLISHER_COUNTRY_TEST1 = "ES";
    private static final LocalDate DATE_TEST1 = LocalDate.of(2013, 1, 26);

    @Test
    public void testCopyFrom() {
// Path: src/test/java/com/edwise/completespring/testutil/BookBuilder.java
// public class BookBuilder {
// 
//     private final Book book;
// 
//     public BookBuilder() {
//         book = new Book();
//     }
// 
//     public BookBuilder id(Long id) {
//         book.setId(id);
//         return this;
//     }
// 
//     public BookBuilder title(String title) {
//         book.setTitle(title);
//         return this;
//     }
// 
//     public BookBuilder authors(List<Author> authors) {
//         book.setAuthors(authors);
//         return this;
//     }
// 
//     public BookBuilder isbn(String isbn) {
//         book.setIsbn(isbn);
//         return this;
//     }
// 
//     public BookBuilder releaseDate(LocalDate releaseDate) {
//         book.setReleaseDate(releaseDate);
//         return this;
//     }
// 
//     public BookBuilder publisher(Publisher publisher) {
//         book.setPublisher(publisher);
//         return this;
//     }
// 
//     public Book build() {
//         return book;
//     }
// }


// Path: src/test/java/com/edwise/completespring/entities/BookTest.java
import com.edwise.completespring.testutil.BookBuilder;
import org.junit.Test;
import java.time.LocalDate;
import java.util.Collections;
import static org.assertj.core.api.Assertions.assertThat;

package com.edwise.completespring.entities;




public class BookTest {

    private static final long BOOK_ID_TEST1 = 31L;
    private static final String BOOK_TITLE_TEST1 = "Lord of the Rings";
    private static final String BOOK_TITLE_TEST2 = "Bautismo de Fuego";
    private static final String AUTHOR_NAME_TEST1 = "J.R.R.";
    private static final String AUTHOR_SURNAME_TEST1 = "Tolkien";
    private static final String BOOK_ISBN_TEST1 = "11-333-12";
    private static final String BOOK_ISBN_TEST2 = "21-929-34";
    private static final String PUBLISHER_NAME_TEST1 = "Editorial Planeta";
    private static final String PUBLISHER_NAME_TEST2 = "Gigamesh";
    private static final String PUBLISHER_COUNTRY_TEST1 = "ES";
    private static final LocalDate DATE_TEST1 = LocalDate.of(2013, 1, 26);

    @Test
    public void testCopyFrom() {
        Book bookFrom = new BookBuilder()