| 1 | package BehaviouralDesignPatterns.TemplateDesignPattern; |
| 2 | |
| 3 | public class MakeThePayment { |
| 4 | public static void main(String[] args) { |
| 5 | PaymentFlow paymentFlow = new PayToFriend(); |
| 6 | paymentFlow.sendMoney(); |
| 7 | |
| 8 | PaymentFlow paymentFlow1 = new PayToMerchant(); |
| 9 | paymentFlow1.sendMoney(); |
| 10 | } |
| 11 | |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected