Permalink
Browse files

Inner loop - Red: Test account provisioning

  • Loading branch information...
1 parent bd961ce commit 7fb17baff0f7ad1400560cb841dfdcdf78e66177 @CarlosMChica committed May 2, 2016
@@ -0,0 +1,18 @@
+package me.panavtec.androidbankkata;
+
+import me.panavtec.androidbankkata.account.BankAccount;
+import org.junit.Test;
+
+import static org.hamcrest.core.IsNull.notNullValue;
+import static org.junit.Assert.assertThat;
+
+public class ShowStatementActivityServiceLocatorShouldShould {
+
+ @Test public void provide_an_account_with_dependencies() {
+ ShowStatementActivityServiceLocator serviceLocator = new ShowStatementActivityServiceLocator();
+
+ BankAccount account = serviceLocator.getAccount();
+
+ assertThat(account, notNullValue());
+ }
+}

0 comments on commit 7fb17ba

Please sign in to comment.