@Test public void mustInjectCreditCardType() { String response = finalizePayment.finishWithCreditCard(); assertEquals("creditCard", response); }
public String finishWithCreditCard() { paymentChoosed = paymentsLazy.select(CreditCard.class).get(); return paymentChoosed.pay(); }
FinalizePayment { public String finishWithCreditCard() { paymentChoosed = paymentsLazy.select(CreditCard.class).get(); return paymentChoosed.pay(); } }
FinalizePayment { public String finishWithCreditCard() { paymentChoosed = paymentsLazy.select(CreditCard.class).get(); return paymentChoosed.pay(); }  }
FinalizePayment { public String finishWithCreditCard() { paymentChoosed = paymentsLazy.select(CreditCard.class).get(); return paymentChoosed.pay(); }  String finishWithCash(); String finishWithCreditCard(); String finishByQualifier(PaymentType type); }
FinalizePayment { public String finishWithCreditCard() { paymentChoosed = paymentsLazy.select(CreditCard.class).get(); return paymentChoosed.pay(); }  String finishWithCash(); String finishWithCreditCard(); String finishByQualifier(PaymentType type);  }