Package cvut.fel.service
Class BookServiceTest
java.lang.Object
cvut.fel.service.BookServiceTest
@Transactional
@SpringBootTest
public class BookServiceTest
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description BookServiceTest()
-
Method Summary
Modifier and Type Method Description void
findById_existingBook_bookRetrieved()
void
findById_wrongBookId_expectException()
void
setUp()
-
Constructor Details
-
BookServiceTest
public BookServiceTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
findById_existingBook_bookRetrieved
public void findById_existingBook_bookRetrieved() -
findById_wrongBookId_expectException
public void findById_wrongBookId_expectException()
-