We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function test__construct_invalid_character_set_throws_exception() { |
||
| 35 | $this->expectException(RuntimeException::class); |
||
| 36 | $this->mysql |
||
| 37 | ->expects(self::once()) |
||
| 38 | ->method("character_set_name") |
||
| 39 | ->willReturn("invalid character set"); |
||
| 40 | // MySqlDatabase::getInstance() is also a valid way to retrieve the managed class instance. |
||
| 41 | MySqlDatabase::getInstance(); |
||
| 42 | } |
||
| 44 |