| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 27 | public function testMongoHandling($uri, $db) | ||
| 28 |     { | ||
| 29 |         $inputMock = $this->createMock('Symfony\Component\Console\Input\InputInterface'); | ||
| 30 | $inputMock->expects($this->once()) | ||
| 31 |             ->method('getOption') | ||
| 32 |             ->with('mongodb') | ||
| 33 | ->will($this->returnValue($uri)); | ||
| 34 | |||
| 35 | $this->assertEquals(['uri' => $uri, 'db' => $db], MongoCredentialsProvider::fromInput($inputMock)); | ||
| 36 | } | ||
| 37 | |||
| 51 |