Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function testOptions() |
||
34 | { |
||
35 | $processor = new Processor(); |
||
36 | |||
37 | $config = $processor->processConfiguration(new Configuration(), array(array( |
||
38 | 'webDir' => '%kernel.root_dir%/../customWeb', |
||
39 | 'defaults' => array( |
||
40 | 'foo' => 'bar', |
||
41 | 'bar' => 'baz', |
||
42 | ), |
||
43 | ))); |
||
44 | |||
45 | $expected = array( |
||
46 | 'webDir' => '%kernel.root_dir%/../customWeb', |
||
47 | 'defaults' => array( |
||
48 | 'foo' => 'bar', |
||
49 | 'bar' => 'baz', |
||
50 | ), |
||
51 | ); |
||
52 | |||
53 | $this->assertSame($expected, $config); |
||
54 | } |
||
55 | } |
||
56 |