Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement