Spring Boot, Mockito, Unit Testing, Junit 5, Rest Api.
booksRepository; } @Override public Books saveBook(Books books) throws Exception { Books savedBook = Books.builder().build(); try{ savedBook = this.booksRepository.save(books); }catch (Exception exception){ this.logger.info("Error while saving the book details", exception); throw exception; }