@Test
public void shouldReturnBookWhenFound() throws Exception {

	when(bookService.find(anyString())).thenReturn(
					Optional.of(new Book("123", "Spring 5 Recipes", "Marten Deinum", "Josh Long")));
	mockMvc.perform(get("/templates/books/123"))
			.andExpect(status().isOk())
			.andExpect(MockMvcResultMatchers.jsonPath("$.isbn", Matchers.equalTo("123")))
			.andExpect(MockMvcResultMatchers.jsonPath("$.title", Matchers.equalTo("Spring 5 Recipes")));
}