Exemple #1
0
        public void ExpensivePayment_MakePayment_ReturnBool()
        {
            // Arrange
            var retval = new PaymentGatewayFactory().CheapPayments.MakePayment();

            // Assert
            retval.GetType().Should().BeSameAs(typeof(bool));
        }
Exemple #2
0
        public void ExpensivePayment_CheckValidity_ReturnBool()
        {
            // Arrange
            var retval = new PaymentGatewayFactory().ExpensivePayments.CheckAvailability();

            // Assert
            retval.GetType().Should().BeSameAs(typeof(bool));
        }