| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function testDefaultOptions() |
||
| 19 | { |
||
| 20 | $processor = new Processor(); |
||
| 21 | |||
| 22 | $config = $processor->processConfiguration(new Configuration(), array(array( |
||
| 23 | ))); |
||
| 24 | |||
| 25 | $expected = array( |
||
| 26 | 'api' => array( |
||
| 27 | 'endpoint' => 'https://api.setlist.fm/rest/0.1/', |
||
| 28 | ), |
||
| 29 | 'http' => array( |
||
| 30 | 'client' => 'httplug.client.default', |
||
| 31 | 'message_factory' => 'httplug.message_factory.default', |
||
| 32 | ), |
||
| 33 | ); |
||
| 34 | |||
| 35 | $this->assertSame($expected, $config); |
||
| 36 | } |
||
| 37 | } |
||
| 38 |