Package com.apps.services

Examples of com.apps.services.GoogleLocationService


import com.apps.services.GoogleLocationService;

public class GoogleLocationServiceFactory {
 
  public static GoogleLocationService getGoogleLocationService(){
    return new GoogleLocationService();
  }
View Full Code Here


public class GoogleLocationServiceTest {

  @Test
  public void test() { 
    GoogleLocationService gls = GoogleLocationServiceFactory.getGoogleLocationService();
   
    String[] coords = gls.getLatLong("6245 Agronomy Road V6T 1Z4");
    assertTrue(coords[0].equals("49.2601031") && coords[1].equals("-123.2505252"));
   
  }
View Full Code Here

TOP

Related Classes of com.apps.services.GoogleLocationService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.