	@Test
	public void testList() throws Exception {

		Book book1 = new Book();
		book1.setBookType(BookTypeEnum.ECONOMIC);
		book1.setName("aaa");
		book1.setId("001");
		book1.setPage(100);
		book1.setPubDate(LocalDateTime.now());
		List<Book> bookList = Arrays.asList(book1);
		Page<Book> page = new PageImpl<>(bookList);

		given(bookService.findBy(PageRequest.of(0, 20), "", null, "")).willReturn(page);

		String requestBody = "{\"name\":\"\", \"bookType\": null, \"shopId\":\"\"}";
		mvc.perform(post("/book/list").header("token", TOKEN).contentType(MediaType.APPLICATION_JSON_UTF8).content(requestBody)
				.accept(MediaType.APPLICATION_JSON_UTF8)).andExpect(status().isOk()).andExpect(jsonPath("$.code").value(1)).andExpect(jsonPath("$.data.content[0].name").value("aaa"));
	}