@Test
public void shouldReturnBookWhenFound() throws Exception {

	Book book = new Book("123", "Spring 5 Recipes", "Marten Deinum", "Josh Long");
	when(bookService.find(anyString())).thenReturn(
					Optional.of(book));
	mockMvc.perform(get("/books.html").param("isbn", "123"))
					.andExpect(status().isOk())
					.andExpect(view().name("books/details"))
					.andExpect(model().attribute("book", Matchers.is(book)));
}