예제 #1
0
        public void AddVideoToPackingSlip()
        {
            // Arrange
            PackingSlipDTO packingSlip = new PackingSlipDTO();

            packingSlip.PackingSlipDetails = "Learning to Ski";
            mockIShippingService.Setup(x => x.SaveShippingDetails(It.IsAny <PackingSlipDTO>()));

            // Act
            packingSlipService.AddVideoToPackingSlip("Learning to Ski");

            // Assert
            mockIShippingService.Verify();
        }
예제 #2
0
 public void CheckUserVideoSubscriptionPlans(string videoName)
 {
     _packingSlip.AddVideoToPackingSlip(videoName);
 }