| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | protected function assertAccountBalance(int $id, int $expected, string $message): void |
||
| 18 | { |
||
| 19 | $connection = $this->getEntityManager()->getConnection(); |
||
| 20 | $actual = $connection->fetchColumn('SELECT balance FROM account WHERE id = ' . $id); |
||
| 21 | self::assertSame($expected, (int) $actual, $message); |
||
| 22 | } |
||
| 24 |