/// <summary>
 /// Converts a RecommendedElasticPoolMetric metric to the powershell metric.
 /// </summary>
 /// <param name="metric">The metric from the service</param>
 /// <returns>The converted metric</returns>
 private AzureSqlElasticPoolRecommendationMetricModel CreateMetricModelFromResponse(RecommendedElasticPoolMetric metric)
 {
     return new AzureSqlElasticPoolRecommendationMetricModel()
     {
         DateTime = metric.DateTime,
         Dtu = metric.Dtu,
         SizeGB = metric.SizeGB
     };
 }
 /// <summary>
 /// Validate metrics for recommended elastic pool.
 /// </summary>
 /// <param name="recommendedElasticPoolsMetric"></param>
 /// <param name="dateTime">DateTeim</param>
 /// <param name="dtu">Dtu</param>
 /// <param name="sizeGB">Size in gigabytes</param>
 private void ValidateRecommendedElasticPoolMetric(RecommendedElasticPoolMetric recommendedElasticPoolsMetric, DateTime dateTime, double dtu, double sizeGB)
 {
     Assert.Equal(recommendedElasticPoolsMetric.DateTime, dateTime);
     Assert.Equal(recommendedElasticPoolsMetric.Dtu, dtu, 2);
     Assert.Equal(recommendedElasticPoolsMetric.SizeGB, sizeGB, 2);
 }