private static IGeometry GetTestPerimeter([CanBeNull] AreaOfInterest areaOfInterest,
                                                  [NotNull] TestContainer testContainer)
        {
            if (areaOfInterest == null)
            {
                return(null);
            }

            IGeometry result;

            GeometryUtils.EnsureSpatialReference(areaOfInterest.Geometry,
                                                 testContainer.GetSpatialReference(), false,
                                                 out result);
            return(result);
        }