@Test
public void shouldReturn404WhenBookNotFound() throws Exception {

	when(bookService.find(anyString())).thenReturn(Optional.empty());
	mockMvc.perform(get("/templates/books/123"))
			.andExpect(status().isNotFound());
}