public void MapBOToModel()
        {
            var             mapper = new BOLSchemaAPersonMapper();
            BOSchemaAPerson bo     = new BOSchemaAPerson();

            bo.SetProperties(1, "A");
            ApiSchemaAPersonResponseModel response = mapper.MapBOToModel(bo);

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
        }
        public void MapBOToEF()
        {
            var mapper = new DALSchemaAPersonMapper();
            var bo     = new BOSchemaAPerson();

            bo.SetProperties(1, "A");

            SchemaAPerson response = mapper.MapBOToEF(bo);

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
        }
        public void MapBOToModelList()
        {
            var             mapper = new BOLSchemaAPersonMapper();
            BOSchemaAPerson bo     = new BOSchemaAPerson();

            bo.SetProperties(1, "A");
            List <ApiSchemaAPersonResponseModel> response = mapper.MapBOToModel(new List <BOSchemaAPerson>()
            {
                { bo }
            });

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