public void MapEntityToModelList()
        {
            var         mapper = new DALTransactionMapper();
            Transaction item   = new Transaction();

            item.SetProperties(1, 1m, 1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A");
            List <ApiTransactionServerResponseModel> response = mapper.MapEntityToModel(new List <Transaction>()
            {
                { item }
            });

            response.Count.Should().Be(1);
        }
        public void MapEntityToModel()
        {
            var         mapper = new DALTransactionMapper();
            Transaction item   = new Transaction();

            item.SetProperties(1, 1m, 1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A");
            ApiTransactionServerResponseModel response = mapper.MapEntityToModel(item);

            response.Amount.Should().Be(1m);
            response.ArtistId.Should().Be(1);
            response.DateCreated.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.Id.Should().Be(1);
            response.StripeTransactionId.Should().Be("A");
        }