0
		double longitude = -88.22055;	
		Location fakeLocation = new Location(LocationManager.GPS_PROVIDER);		
		 
		try 
		{ 
			manager.addTestProvider(LocationManager.GPS_PROVIDER, true, true, true, true, true, true, true, 0, 5);
			manager.setTestProviderEnabled(LocationManager.GPS_PROVIDER, true);
			manager.setTestProviderStatus(LocationManager.GPS_PROVIDER, LocationProvider.AVAILABLE, null,System.currentTimeMillis());
		} 
		catch (Exception ex) {}
		 
		fakeLocation.setLatitude(latitude);
		fakeLocation.setLongitude(longitude);
		manager.setTestProviderLocation(LocationManager.GPS_PROVIDER, fakeLocation);	
		((RouteMap)mActivity).setMapCenter((int)(latitude * 1E6), (int)(longitude * 1E6));
		 
		thisWait(2000); 
		 
		((RouteMap)mActivity).clickOnOverlay(); // springfield and gregory ne corner
		 
		assertTrue(solo.searchText("Routes Servicing"));
		assertTrue(solo.searchText("Gold"));
		assertTrue(solo.searchText("Goldhopper"));
		assertTrue(solo.searchText("Silver")); 
		assertTrue(solo.searchText("Silver Evening"));
		assertTrue(solo.searchText("Silver Late Night"));
		assertTrue(solo.searchText("Silver Weekend"));		
		 
	} 
	 
	/** 
	 * Sleeps the thread for milliseconds 
	 * @param millis milliseconds to sleep 
	 */ 
	private void thisWait(long millis)
	{ 
		try  
		{ 
			Thread.sleep(millis);
		}  
		catch (InterruptedException e) 
		{			 
			e.printStackTrace();
		} 
Connect your IDE to all the code out there  Get Codota for Java