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