public void MapEFToBO()
        {
            var           mapper = new DALSchemaAPersonMapper();
            SchemaAPerson entity = new SchemaAPerson();

            entity.SetProperties(1, "A");

            BOSchemaAPerson response = mapper.MapEFToBO(entity);

            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 MapEFToBOList()
        {
            var           mapper = new DALSchemaAPersonMapper();
            SchemaAPerson entity = new SchemaAPerson();

            entity.SetProperties(1, "A");

            List <BOSchemaAPerson> response = mapper.MapEFToBO(new List <SchemaAPerson>()
            {
                entity
            });

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