package com.flightfeather.uav.lightshare.service.impl
|
|
import com.flightfeather.uav.lightshare.service.CompanyService
|
import org.junit.Test
|
|
import org.junit.Assert.*
|
import org.junit.runner.RunWith
|
import org.springframework.beans.factory.annotation.Autowired
|
import org.springframework.boot.test.context.SpringBootTest
|
import org.springframework.test.context.junit4.SpringRunner
|
|
@RunWith(SpringRunner::class)
|
@SpringBootTest
|
class CompanyServiceImplTest {
|
|
@Autowired
|
lateinit var companyService: CompanyService
|
|
@Test
|
fun getCompanyInfo() {
|
val r = companyService.getCompanyInfo()
|
println(r)
|
}
|
}
|