mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +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)
|
|
}
|
|
}
|