public void MapEFToBOList()
        {
            var        mapper = new DALWorkerPoolMapper();
            WorkerPool entity = new WorkerPool();

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

            List <BOWorkerPool> response = mapper.MapEFToBO(new List <WorkerPool>()
            {
                entity
            });

            response.Count.Should().Be(1);
        }
        public void MapEFToBO()
        {
            var        mapper = new DALWorkerPoolMapper();
            WorkerPool entity = new WorkerPool();

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

            BOWorkerPool response = mapper.MapEFToBO(entity);

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