Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
[Red] Write a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmewes committed May 19, 2016
1 parent c19ab8c commit 638764d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public void testGetAccountNumbers() throws IOException {
File testFile = getTestFile("account-numbers.txt");
List<String> accountNumbers = AccountNumbersParser.getAccountNumbers(testFile);
assertEquals("Cannot parse all account numbers", 12, accountNumbers.size());
assertEquals("Cannot parse account number", "000000000", accountNumbers.get(0));
assertEquals("Cannot parse account number", "000000051", accountNumbers.get(accountNumbers.size() - 1));
}

private File getTestFile(String fileName) {
Expand Down

0 comments on commit 638764d

Please sign in to comment.