Scala, Design Patterns, Programming, Builder Pattern, Coding.
checking that the BookBuilder has as generic type HasAuthor, instantiates a Book with the attributes from the BookBuilder. The following it’s the implementation of the Book class and the build method from BookBuilder. class Book(val title: String, val author: String, val price: Double) def