| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function testMysqlMakeCallsCreateConnection() |
||
| 12 | { |
||
| 13 | $pdo = new PDOStub(); |
||
| 14 | |||
| 15 | $factory = Mockery::mock(ConnectionFactory::class, [new Container()])->makePartial(); |
||
| 16 | $factory->shouldAllowMockingProtectedMethods(); |
||
| 17 | $conn = $factory->createConnection('mysql', $pdo, 'database'); |
||
| 18 | |||
| 19 | $this->assertInstanceOf(MysqlConnection::class, $conn); |
||
| 20 | } |
||
| 44 |