/** Test getLocationByFolder. */
 @Test
 public void testGetLocationByFolder() {
   final GeoPointFolder geoPointFolder =
       createGeoPointFolder(GeoPointFolderType.GROUPING, this.userPrimary, "Matagalpa", null);
   createGeoPoint("Location 1", "type", 1, this.userPrimary, geoPointFolder);
   final List<GeoPoint> geoPoint =
       getGeoPointDao()
           .getLocationByFolder(geoPointFolder.getLocationFolderId(), this.userPrimary.getUid());
   assertEquals("Should be equals", 1, geoPoint.size());
 }
 /** Before.. */
 @Before
 public void initService() {
   this.userPrimary = createAccount();
   this.defaultLocation = createGeoPoint("Managua", "Capital", 1, this.userPrimary);
   createGeoPoint("Esteli", "Esteli", 2, this.userPrimary);
 }