feiyu02
2025-08-05 176d7d8283e66ccf63878c9ab823e900df94b748
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
    }
}