/**
* Test Add Locations to Project.
*/
public void testGetProjectByLocationId(){
final GeoPoint loc1 = createGeoPoint("managua", "mga", 1, this.user.getAccount());
final GeoPoint loc2 = createGeoPoint("diriomo", "drm", 1, this.user.getAccount());
project.getLocations().add(loc1);
project.getLocations().add(loc2);
getProjectDaoImp().saveOrUpdate(project);
assertEquals("Should be equals", 2, project.getLocations().size());
}