public void MapEntityToModelList()
        {
            var     mapper = new DALStudentMapper();
            Student item   = new Student();

            item.SetProperties(1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A", true, 1, "A", true, "A", "A", true, 1);
            List <ApiStudentServerResponseModel> response = mapper.MapEntityToModel(new List <Student>()
            {
                { item }
            });

            response.Count.Should().Be(1);
        }
        public void MapEntityToModel()
        {
            var     mapper = new DALStudentMapper();
            Student item   = new Student();

            item.SetProperties(1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A", true, 1, "A", true, "A", "A", true, 1);
            ApiStudentServerResponseModel response = mapper.MapEntityToModel(item);

            response.Birthday.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.Email.Should().Be("A");
            response.EmailRemindersEnabled.Should().Be(true);
            response.FamilyId.Should().Be(1);
            response.FirstName.Should().Be("A");
            response.Id.Should().Be(1);
            response.IsAdult.Should().Be(true);
            response.LastName.Should().Be("A");
            response.Phone.Should().Be("A");
            response.SmsRemindersEnabled.Should().Be(true);
            response.UserId.Should().Be(1);
        }