Package com.example.bookstore.domain

Examples of com.example.bookstore.domain.BookSearchCriteria


    assertEquals(book1.getIsbn(), book.getIsbn());
  }
 
  @Test
    public void testFindBooks() {
    BookSearchCriteria bookSearchCriteria = new BookSearchCriteria();
    bookSearchCriteria.setTitle(book.getTitle());
    List<Book> books = bookRepository.findBooks(bookSearchCriteria);
   
    for (Book book : books) {
      assertEquals(this.book.getCategory().getId(), category.getId());
      assertEquals(this.book.getAuthor(), book.getAuthor());
View Full Code Here


    @Autowired
    private BookstoreService bookstoreService;

    @ModelAttribute
    public BookSearchCriteria criteria() {
        return new BookSearchCriteria();
    }
View Full Code Here

TOP

Related Classes of com.example.bookstore.domain.BookSearchCriteria

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.