public static StudentWithMetrics.Metric ToListCellTypedMetric(this StudentMetric metricData,
                                                                      MetadataColumn cell,
                                                                      IStudentListUtilitiesProvider utilitiesProvider,
                                                                      ITrendRenderingDispositionProvider trendRenderingDispositionProvider)
        {
            switch (cell.MetricListCellType)
            {
                case MetricListCellType.TrendMetric:
                    return utilitiesProvider.PrepareTrendMetric(metricData.StudentUSI, metricData.SchoolId,
                                                                cell.UniqueIdentifier, metricData.MetricVariantId,
                                                                metricData.Value, metricData.MetricStateTypeId,
                                                                metricData.ValueTypeName, metricData.TrendDirection,
                                                                trendRenderingDispositionProvider);
                case MetricListCellType.AssessmentMetric:
                    return utilitiesProvider.PrepareIndicatorMetric(metricData.StudentUSI, metricData.SchoolId,
                                                                    cell.UniqueIdentifier, metricData.MetricVariantId,
                                                                    metricData.Value, metricData.MetricStateTypeId,
                                                                    metricData.ValueTypeName);
            }

            return utilitiesProvider.PrepareMetric(metricData.StudentUSI, metricData.SchoolId, cell.UniqueIdentifier,
                                                   metricData.MetricVariantId, metricData.Value,
                                                   metricData.MetricStateTypeId, metricData.ValueTypeName);
        }
 protected override void ExecuteTest()
 {
     studentListUtilitiesProvider = new StudentListUtilitiesProvider(metricStateProvider, metricNodeResolver);
     actualModel = studentListUtilitiesProvider.PrepareIndicatorMetric(suppliedStudentUSI, suppliedSchoolId, suppliedUniqueIdentifier, suppliedMetricVariantId, suppliedMetricValue.ToString(), suppliedStateType, suppliedValueType);
 }
 protected override void ExecuteTest()
 {
     studentListUtilitiesProvider = new StudentListUtilitiesProvider(metricStateProvider, metricNodeResolver);
     actualModel = studentListUtilitiesProvider.PrepareIndicatorMetric(suppliedStudentUSI, suppliedUniqueIdentifier, null, null, null, null, null);
 }