public void GivenGetDataWhenDescendingIsFalseByFirstNameThenNullReferenceException(int sessionNumber, bool descending)
        {
            //Arrange
            AverageScoreForEachSpecialtyReport averageScoreForEachSpecialtyReport = new AverageScoreForEachSpecialtyReport(sessionNumber, x => x.AverageExamValue, descending);

            //Assert
            Assert.That(() => averageScoreForEachSpecialtyReport.GetData(), Throws.TypeOf <NullReferenceException>());
        }
        public void GivenGetDataWhenDescendingIsFalseByAverageExamValue(int sessionNumber, bool descending)
        {
            //Arrange
            AverageScoreForEachSpecialtyReport  averageScoreForEachSpecialtyReport = new AverageScoreForEachSpecialtyReport(sessionNumber, x => x.AverageExamValue, descending);
            IEnumerable <IEnumerable <string> > expectedGetData = new List <List <string> >()
            {
                new List <string> {
                    "1", "Programmer", "47,875"
                },
                new List <string> {
                    "1", "Tester", "48,1875"
                }
            };

            //Act
            IEnumerable <IEnumerable <string> > actualGetData = averageScoreForEachSpecialtyReport.GetData();

            //Assert
            Assert.AreEqual(expectedGetData, actualGetData);
        }