コード例 #1
0
        public void GetPaymentMethodsTest()
        {
            //Arrange
            DataCustomerOrder dataCustomerOrder = new DataCustomerOrder();

            //Act
            List <ServicePaymentMethod> paymentMethods = (List <ServicePaymentMethod>)dataCustomerOrder.GetPaymentMethods();

            //Assert
            Assert.IsTrue(paymentMethods.Count() >= 1);
        }
コード例 #2
0
 public IEnumerable <ServicePaymentMethod> GetPaymentMethods()
 {
     return(dataCustomerOrder.GetPaymentMethods());
 }