@Test
  public void getGeoLevelBoundsForArea_COMMON1() {

    /**
     * Inputs: geography='SAHSU' geoLevelSelect='LEVEL3' studyID=1 mapAreaID='01.008.005600'
     *
     * <p>should yield the results: "(54.5492,-6.56952,54.5205,-6.62246)"
     */
    try {
      User validUser = cloneValidUser();
      StudyResultRetrievalContext validStudyResultRetrievalContext = cloneValidResultContext();
      validStudyResultRetrievalContext.setGeoLevelSelectName("LEVEL3");
      MapArea validMapArea = MapArea.newInstance("01.008.005600", "01.008.005600", "01.008.005600");

      BoundaryRectangle boundaryRectangle =
          rifStudyRetrievalService.getGeoLevelBoundsForArea(
              validUser, validStudyResultRetrievalContext, validMapArea);

      assertEquals("-6.56952", boundaryRectangle.getXMax());
      assertEquals("54.5492", boundaryRectangle.getYMax());
      assertEquals("54.5205", boundaryRectangle.getYMin());
      assertEquals("-6.62246", boundaryRectangle.getXMin());
    } catch (RIFServiceException rifServiceException) {

      fail();
    }
  }
  @Test
  public void getGeoLevelFullExtentForStudy_COMMON1() {

    try {
      User validUser = cloneValidUser();
      StudyResultRetrievalContext validStudyResultRetrievalContext = cloneValidResultContext();
      validStudyResultRetrievalContext.setGeoLevelSelectName("LEVEL4");
      System.out.println(
          "Geography=="
              + validStudyResultRetrievalContext.getGeographyName()
              + "==GeoLevelSelect=="
              + validStudyResultRetrievalContext.getGeoLevelSelectName()
              + "==");
      BoundaryRectangle boundaryRectangle =
          rifStudyRetrievalService.getGeoLevelFullExtentForStudy(
              validUser, validStudyResultRetrievalContext);
      assertEquals("-4.88653803", boundaryRectangle.getXMax());
      assertEquals("55.5268097", boundaryRectangle.getYMax());
      assertEquals("52.6875343", boundaryRectangle.getYMin());
      assertEquals("-7.58829451", boundaryRectangle.getXMin());
    } catch (RIFServiceException rifServiceException) {
      fail();
    }
  }