Ejemplo n.º 1
0
        public void MapIncommingOrderDtoToPaymentDetailsDto_ShouldReturnPaymentDetailsType()
        {
            var incommingOrder = new IncommingOrderDto {
                OrderNumber = 5, UserId = 456, PayableAmount = 99.12, PaymentGateWay = "Seb", Description = "This is order number 5"
            };

            var actual = DtoMapper.MapIncommingOrderDtoToPaymentDetailsDto(incommingOrder);

            Assert.IsType <PaymentDetailsDto>(actual);
        }