首页 文章

Spring WebFlux和Kotlin支持:如何进行集成测试?

提问于
浏览
0

https://docs.spring.io/spring-framework/docs/5.0.0.BUILD-SNAPSHOT/spring-framework-reference/kotlin.html#easy-testing-kotlin-and-junit-5显示了集成测试的代码示例 . 但是我不明白这一行:

val application = Application(8181)

8181 应该是端口号 . 但 Application 来自哪里?这是Spring Boot应用程序的应用程序类吗?

1 回答

相关问题