-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added BLZ 25040066 * added unique identifier 01LGX08DLMWH5GWA --------- Co-authored-by: Lars Herrmann <lars.herrmann@power.cloud>
- Loading branch information
1 parent
482bccc
commit 2520146
Showing
3 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
:20:01LGX08DLMWH5GWA | ||
:25:25040066/0123456789 | ||
:28C:00143/1 | ||
:60F:C200605EUR0,00 | ||
:61:2006080608D12,35 NRTIKREF+//2016021783252833 | ||
/OCMT/EUR11,85//CHGS/EUR0,50/ | ||
:86:109?00SEPA-LASTSCHR. RETOURE CORE?109075/629?20EREF+A1.200080779. | ||
400143254?21.4961336 KREF+SEPA-DA202006?2201221740-34972000-P1 MR | ||
EF+2?230852HW2723821 CRED+DE41EON0?240000129793 OAMT+11,85 SVWZ+? | ||
25SONSTIGE GRUENDE ENDABRECHN?26UNG NR. 500106875 ZU VERTRA?2740 | ||
0143254, KUNDENNUM MER 2?2802227779?30CSDBDE71XXX?31DE50712345600 | ||
200691329?32TESTER?33EL | ||
:62F:C200608EUR0,00 | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Jejik\Tests\MT940\Parser; | ||
|
||
use Jejik\MT940\Parser\Commerzbank; | ||
use Jejik\MT940\Reader; | ||
use PHPUnit\Framework\TestCase; | ||
|
||
class CommerzbankTest extends TestCase | ||
{ | ||
private Reader $reader; | ||
|
||
public function setUp(): void | ||
{ | ||
$this->reader = new Reader(); | ||
$this->reader->addParser('Commerzbank', Commerzbank::class); | ||
|
||
$this->context = file_get_contents(__DIR__ . '/../Fixture/document/commerzbank.txt'); | ||
} | ||
|
||
public function testPassAccept(): void | ||
{ | ||
$parser = $this->reader->getStatements($this->context); | ||
|
||
self::assertIsArray($parser); | ||
} | ||
} |