public void MapModelToEntity()
        {
            var mapper = new DALTeacherSkillMapper();
            ApiTeacherSkillServerRequestModel model = new ApiTeacherSkillServerRequestModel();

            model.SetProperties("A");
            TeacherSkill response = mapper.MapModelToEntity(1, model);

            response.Name.Should().Be("A");
        }
        public void MapEntityToModel()
        {
            var          mapper = new DALTeacherSkillMapper();
            TeacherSkill item   = new TeacherSkill();

            item.SetProperties(1, "A");
            ApiTeacherSkillServerResponseModel response = mapper.MapEntityToModel(item);

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
        }
        public void MapEntityToModelList()
        {
            var          mapper = new DALTeacherSkillMapper();
            TeacherSkill item   = new TeacherSkill();

            item.SetProperties(1, "A");
            List <ApiTeacherSkillServerResponseModel> response = mapper.MapEntityToModel(new List <TeacherSkill>()
            {
                { item }
            });

            response.Count.Should().Be(1);
        }