Permalink
Browse files

Inner loop - Green: Implement account provisioning

  • Loading branch information...
1 parent 7fb17ba commit 8ce1466630124fb680dae0d72b421c429d929843 @CarlosMChica committed May 2, 2016
@@ -1,6 +1,9 @@
package me.panavtec.androidbankkata;
import me.panavtec.androidbankkata.account.BankAccount;
+import me.panavtec.androidbankkata.account.Clock;
+import me.panavtec.androidbankkata.account.statement.StatementFormatter;
+import me.panavtec.androidbankkata.account.transaction.TransactionRepository;
class ShowStatementActivityServiceLocator {
@@ -18,6 +21,6 @@ static void setInstance(ShowStatementActivityServiceLocator serviceLocator) {
}
public BankAccount getAccount() {
- return null;
+ return new BankAccount(new TransactionRepository(), new StatementFormatter(), new Clock());
}
}

0 comments on commit 8ce1466

Please sign in to comment.