feiyu02
2024-12-16 b3e273990fda27b68dfcf2c7f9d78311a5279885
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)
    }
}