@Test
void should_return_book_representation_when_get_by_id() {

    Book value = Book.create("123", "isbn", "name");
    when(bookRepository.byId(anyString())).thenReturn(value);
    BookRepresentaion represention = applicationService.getBookById("123");
    assertEquals(represention.getName(), "name");
}