public void MapEFToBO()
        {
            var           mapper = new DALMachinePolicyMapper();
            MachinePolicy entity = new MachinePolicy();

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

            BOMachinePolicy response = mapper.MapEFToBO(entity);

            response.Id.Should().Be("A");
            response.IsDefault.Should().Be(true);
            response.JSON.Should().Be("A");
            response.Name.Should().Be("A");
        }
        public void MapEFToBOList()
        {
            var           mapper = new DALMachinePolicyMapper();
            MachinePolicy entity = new MachinePolicy();

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

            List <BOMachinePolicy> response = mapper.MapEFToBO(new List <MachinePolicy>()
            {
                entity
            });

            response.Count.Should().Be(1);
        }
        public void MapBOToEF()
        {
            var mapper = new DALMachinePolicyMapper();
            var bo     = new BOMachinePolicy();

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

            MachinePolicy response = mapper.MapBOToEF(bo);

            response.Id.Should().Be("A");
            response.IsDefault.Should().Be(true);
            response.JSON.Should().Be("A");
            response.Name.Should().Be("A");
        }