public void ShouldMapMultipleAssessments()
        {
            SetUp();
            var studentAssessment = BuildFirstStudentAssessment();
            var studentAssessmentTwo = BuildStudentAssessmentTwo();

            var startDate = studentAssessment.AdministrationDate.AddDays(-5);
            var endDate = startDate.AddDays(6);
            var assessmentResultModel = new StudentAssessmentsToAssessmentResultModelMapper(_genericRepository)
                .Map(new[] { studentAssessment, studentAssessmentTwo }, startDate, endDate);
            assessmentResultModel.ShouldNotBe(null);

            var firstRowModel = assessmentResultModel.AssessmentResultRows[0];
            firstRowModel.CommonCoreStandard.ShouldBe("English - Reading Comprehension");
            firstRowModel.Results.Count.ShouldBe(7);
            firstRowModel.Results.ShouldBe(new[] { "", "", "", "", "", "Mastery", "" });
            
            var secondRowModel = assessmentResultModel.AssessmentResultRows[1];
            secondRowModel.CommonCoreStandard.ShouldBe("English - Reading Comprehension");
            secondRowModel.Results.Count.ShouldBe(7);
            secondRowModel.Results.ShouldBe(new[] { "", "", "", "", "", "Not Mastered", "" });
        }
        public void ShouldMap()
        {
            SetUp();
            var studentAssessment = BuildFirstStudentAssessment();

            var startDate = studentAssessment.Assessment.AdministeredDate.AddDays(-5);
            var endDate = startDate.AddDays(6);
            var assessmentResultModel = new StudentAssessmentsToAssessmentResultModelMapper(_genericRepository).Map(new[] {studentAssessment}, startDate, endDate);

            assessmentResultModel.ShouldNotBe(null);
            assessmentResultModel.DateRange.ShouldBe(startDate.ToShortDateString() + " - " + endDate.ToShortDateString());

            var firstRowModel = assessmentResultModel.AssessmentResultRows[0];
            firstRowModel.CommonCoreStandard.ShouldBe(studentAssessment.Assessment.AssessmentLearningStandards.First().LearningStandard.Description);
            firstRowModel.SectionCode.ShouldBe(studentAssessment.Assessment.AssessmentSections.First().Section.UniqueSectionCode);
            firstRowModel.AssessmentTitle.ShouldBe(studentAssessment.Assessment.AssessmentTitle);

            firstRowModel.Date.ShouldBe(studentAssessment.AdministrationDate);
            firstRowModel.AssessmentTypeDescription.ShouldBe(studentAssessment.Assessment.AssessmentCategoryType.ShortDescription);
            firstRowModel.Grade.ShouldBe(studentAssessment.StudentAssessmentScoreResults.First().Result);
            
            firstRowModel.Results.ShouldBe(new []{"", "", "", "", "", "Mastery", ""});
        }