mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-26 00:32:34 +03:00
add kafka consumer
This commit is contained in:
9
src/test/kotlin/com/example/demo/BaseUnitTest.kt
Normal file
9
src/test/kotlin/com/example/demo/BaseUnitTest.kt
Normal file
@@ -0,0 +1,9 @@
|
||||
package com.example.demo
|
||||
|
||||
import com.example.demo.services.kafka.Consumer
|
||||
import org.springframework.boot.test.mock.mockito.MockBean
|
||||
|
||||
open class BaseUnitTest {
|
||||
@MockBean
|
||||
lateinit var consumer: Consumer
|
||||
}
|
||||
Reference in New Issue
Block a user