public void MapEFToBOList()
        {
            var mapper = new DALTransactionHistoryArchiveMapper();
            TransactionHistoryArchive entity = new TransactionHistoryArchive();

            entity.SetProperties(1m, DateTime.Parse("1/1/1987 12:00:00 AM"), 1, 1, 1, 1, DateTime.Parse("1/1/1987 12:00:00 AM"), 1, "A");

            List <BOTransactionHistoryArchive> response = mapper.MapEFToBO(new List <TransactionHistoryArchive>()
            {
                entity
            });

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

            entity.SetProperties(1m, DateTime.Parse("1/1/1987 12:00:00 AM"), 1, 1, 1, 1, DateTime.Parse("1/1/1987 12:00:00 AM"), 1, "A");

            BOTransactionHistoryArchive response = mapper.MapEFToBO(entity);

            response.ActualCost.Should().Be(1m);
            response.ModifiedDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.ProductID.Should().Be(1);
            response.Quantity.Should().Be(1);
            response.ReferenceOrderID.Should().Be(1);
            response.ReferenceOrderLineID.Should().Be(1);
            response.TransactionDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.TransactionID.Should().Be(1);
            response.TransactionType.Should().Be("A");
        }