public void MapModelToEntity()
        {
            var mapper = new DALTeacherTeacherSkillMapper();
            ApiTeacherTeacherSkillServerRequestModel model = new ApiTeacherTeacherSkillServerRequestModel();

            model.SetProperties(1, 1);
            TeacherTeacherSkill response = mapper.MapModelToEntity(1, model);

            response.TeacherId.Should().Be(1);
            response.TeacherSkillId.Should().Be(1);
        }
        public void MapEntityToModel()
        {
            var mapper = new DALTeacherTeacherSkillMapper();
            TeacherTeacherSkill item = new TeacherTeacherSkill();

            item.SetProperties(1, 1, 1);
            ApiTeacherTeacherSkillServerResponseModel response = mapper.MapEntityToModel(item);

            response.Id.Should().Be(1);
            response.TeacherId.Should().Be(1);
            response.TeacherSkillId.Should().Be(1);
        }
        public void MapEntityToModelList()
        {
            var mapper = new DALTeacherTeacherSkillMapper();
            TeacherTeacherSkill item = new TeacherTeacherSkill();

            item.SetProperties(1, 1, 1);
            List <ApiTeacherTeacherSkillServerResponseModel> response = mapper.MapEntityToModel(new List <TeacherTeacherSkill>()
            {
                { item }
            });

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