mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
8 lines
161 B
Groovy
8 lines
161 B
Groovy
class BookTests {
|
|
@Test
|
|
void testBooks() {
|
|
Book book = new Book(author: "Tom Clancy", title: "Threat Vector")
|
|
assertEquals("Tom Clancy", book.author)
|
|
}
|
|
}
|