diff --git a/test/Parser/Banking/Mt940/Engine/Rabo/ParseTest.php b/test/Parser/Banking/Mt940/Engine/Rabo/ParseTest.php index b362828..c955bd5 100644 --- a/test/Parser/Banking/Mt940/Engine/Rabo/ParseTest.php +++ b/test/Parser/Banking/Mt940/Engine/Rabo/ParseTest.php @@ -30,6 +30,13 @@ public function testParseStatementBank() $this->assertEquals('Rabo', $method->invoke($this->engine)); } + public function testParsesAllFoundStatements() { + $statements = $this->engine->parse(); + $this->assertEquals(39, count($statements)); + $this->assertEquals('06-01-2003', reset($statements)->getTimestamp('d-m-Y')); + $this->assertEquals('08-01-2003', end($statements)->getTimestamp('d-m-Y')); + } + public function testInitialNegativeStatementBalance() { $this->engine->loadString(file_get_contents(__DIR__ . '/sample2')); $statements = $this->engine->parse();