SHARE
TWEET

Untitled

a guest Nov 14th, 2019 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @RunWith(SpringRunner::class)
  2. @SpringBootTest
  3. @ContextConfiguration(classes = [GoogleLocationApiService::class], loader = AnnotationConfigContextLoader::class)
  4. class GoogleLocationApiServiceTest {
  5.     @Autowired lateinit var googleLocationApiService: GoogleLocationApiService
  6.  
  7.     @org.junit.jupiter.api.Test
  8.     fun contextLoads() {
  9.     }
  10.  
  11.     @Test
  12.     fun testFindByName() {
  13.         System.out.println(
  14.                 googleLocationApiService.getSpotByPlaceId("ChIJp1ceUYi8woARdkPvBsrSG90")
  15.         )
  16.     }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top