Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RunWith(SpringRunner::class)
- @SpringBootTest
- @ContextConfiguration(classes = [GoogleLocationApiService::class], loader = AnnotationConfigContextLoader::class)
- class GoogleLocationApiServiceTest {
- @Autowired lateinit var googleLocationApiService: GoogleLocationApiService
- @org.junit.jupiter.api.Test
- fun contextLoads() {
- }
- @Test
- fun testFindByName() {
- System.out.println(
- googleLocationApiService.getSpotByPlaceId("ChIJp1ceUYi8woARdkPvBsrSG90")
- )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement