public void MapEFToBO()
        {
            var mapper = new DALCountryRequirementMapper();
            CountryRequirement entity = new CountryRequirement();

            entity.SetProperties(1, "A", 1);

            BOCountryRequirement response = mapper.MapEFToBO(entity);

            response.CountryId.Should().Be(1);
            response.Detail.Should().Be("A");
            response.Id.Should().Be(1);
        }
        public void MapBOToEF()
        {
            var mapper = new DALCountryRequirementMapper();
            var bo     = new BOCountryRequirement();

            bo.SetProperties(1, 1, "A");

            CountryRequirement response = mapper.MapBOToEF(bo);

            response.CountryId.Should().Be(1);
            response.Detail.Should().Be("A");
            response.Id.Should().Be(1);
        }
        public void MapEFToBOList()
        {
            var mapper = new DALCountryRequirementMapper();
            CountryRequirement entity = new CountryRequirement();

            entity.SetProperties(1, "A", 1);

            List <BOCountryRequirement> response = mapper.MapEFToBO(new List <CountryRequirement>()
            {
                entity
            });

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