List<Book> books = dao.findPriceAndLengthEqual(10f, 50);
Assert.assertEquals(1, books.size());
}
private static Book getNewBook(String title, float price, int length) {
PackingInfo info = new PackingInfo("平装", "铜版纸", length);
List<Author> authors = new ArrayList<Author>();
authors.add(new Author("gzYangfan"));
Book book = new Book();
book.setTitle(title);