Bael 2709 (#6527)
* BAEL-2709: Implementing example for Spring Boot Hibernate. * BAEL-2709: Changed test name.
This commit is contained in:
parent
05e3bf3a82
commit
b3fc27088b
@ -19,7 +19,7 @@ public class BookServiceUnitTest {
|
|||||||
private BookService bookService;
|
private BookService bookService;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test() {
|
public void whenApplicationStarts_thenHibernateCreatesInitialRecords() {
|
||||||
List<Book> books = bookService.list();
|
List<Book> books = bookService.list();
|
||||||
|
|
||||||
Assert.assertEquals(books.size(), 3);
|
Assert.assertEquals(books.size(), 3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user