assertMockEndpointsSatisfied();
}
protected Bookstore getExpectedBookstore() {
final Bookstore bookstore = new Bookstore();
Book book = new Book();
book.setCategory("COOKING");
Book.Title title = new Book.Title();
title.setValue("Everyday Italian");
title.setLang("en");
book.setTitle(title);
book.getAuthor().add("Giada De Laurentiis");
book.setYear(2005);
book.setPrice(30.00);
bookstore.getBook().add(book);
book = new Book();
book.setCategory("CHILDREN");
title = new Book.Title();
title.setValue("Harry Potter");
title.setLang("en");
book.setTitle(title);
book.getAuthor().add("J K. Rowling");
book.setYear(2005);
book.setPrice(29.99);
bookstore.getBook().add(book);
book = new Book();
book.setCategory("WEB");
title = new Book.Title();
title.setValue("Learning XML");
title.setLang("en");
book.setTitle(title);
book.getAuthor().add("Erik T. Ray");
book.setYear(2003);
book.setPrice(39.95);
bookstore.getBook().add(book);
book = new Book();
book.setCategory("PROGRAMMING");
title = new Book.Title();
title.setValue("Apache Camel Developer's Cookbook");
title.setLang("en");
book.setTitle(title);
book.getAuthor().add("Scott Cranton");
book.getAuthor().add("Jakub Korab");
book.setYear(2013);
book.setPrice(49.99);
bookstore.getBook().add(book);
return bookstore;
}